MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _init_non_posix

Function _init_non_posix

tools/python-3.11.9-amd64/Lib/sysconfig.py:535–546  ·  view source on GitHub ↗

Initialize the module as appropriate for NT

(vars)

Source from the content-addressed store, hash-verified

533 vars.update(build_time_vars)
534
535def _init_non_posix(vars):
536 """Initialize the module as appropriate for NT"""
537 # set basic install directories
538 import _imp
539 vars['LIBDEST'] = get_path('stdlib')
540 vars['BINLIBDEST'] = get_path('platstdlib')
541 vars['INCLUDEPY'] = get_path('include')
542 vars['EXT_SUFFIX'] = _imp.extension_suffixes()[0]
543 vars['EXE'] = '.exe'
544 vars['VERSION'] = _PY_VERSION_SHORT_NO_DOT
545 vars['BINDIR'] = os.path.dirname(_safe_realpath(sys.executable))
546 vars['TZPATH'] = ''
547
548#
549# public APIs

Callers 1

get_config_varsFunction · 0.85

Calls 2

get_pathFunction · 0.85
_safe_realpathFunction · 0.85

Tested by

no test coverage detected