MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / get_win_arch

Function get_win_arch

external/sentencepiece/python/setup.py:152–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150
151
152def get_win_arch():
153 arch = 'win32'
154 if sys.maxsize > 2**32:
155 arch = 'amd64'
156 if 'arm' in platform.machine().lower():
157 arch = 'arm64'
158 if os.getenv('PYTHON_ARCH', '') == 'ARM64':
159 # Special check for arm64 under ciwheelbuild, see https://github.com/pypa/cibuildwheel/issues/1942
160 arch = 'arm64'
161 return arch
162
163
164if os.name == 'nt':

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected