File tree Expand file tree Collapse file tree
Src/IronPython/Lib/iptest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,5 +102,7 @@ launchSettings.json
102102* .o
103103/Src /ctypes_test /* .pyd
104104/Src /ctypes_test /* .pyd
105- /Src /StdLib /Lib /__pycache__
105+ /Src /StdLib /Lib /** /__pycache__
106+ /Src /IronPython /Lib /** /__pycache__
107+ /Tests /** /__pycache__
106108/Tests /modules /misc /test_data.gz
Original file line number Diff line number Diff line change 1111is_cli = sys .implementation .name == 'ironpython'
1212is_ironpython = is_cli
1313is_cpython = not is_ironpython
14- is_posix = sys .platform == 'posix'
14+ is_windows = sys .platform == 'win32'
15+ is_posix = sys .platform == 'posix' or sys .platform == 'linux'
1516is_osx = sys .platform == 'darwin'
1617is_netcoreapp = False
1718is_netcoreapp21 = False
3839
3940is_32 , is_64 = is_cli32 , is_cli64
4041if not is_ironpython :
41- cpu = os .environ ["PROCESSOR_ARCHITECTURE" ]
42- if cpu .lower ()== "x86" :
43- is_32 = True
44- elif cpu .lower ()== "amd64" :
45- is_64 = True
46-
42+ import struct
43+ ptr_size = struct .calcsize ('P' )
44+ is_32 , is_64 = (ptr_size == 4 ), (ptr_size == 8 )
4745
4846#--CLR version we're running on (if any)
4947
You can’t perform that action at this time.
0 commit comments