Changeset 394 for python/trunk/Lib/sysconfig.py
- Timestamp:
- Mar 21, 2014, 1:39:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Lib/sysconfig.py
r391 r394 38 38 }, 39 39 'os2': { 40 'stdlib': '{base}/ Lib',41 'platstdlib': '{ base}/Lib',42 'purelib': '{base}/ Lib/site-packages',43 'platlib': '{ base}/Lib/site-packages',44 'include': '{base}/ Include',45 'platinclude': '{ base}/Include',46 'scripts': '{base}/ Scripts',47 'data' 48 }, 49 'os2_ home': {40 'stdlib': '{base}/lib/python{py_version_short}', 41 'platstdlib': '{platbase}/lib/python{py_version_short}', 42 'purelib': '{base}/lib/python{py_version_short}/site-packages', 43 'platlib': '{platbase}/lib/python{py_version_short}/site-packages', 44 'include': '{base}/include/python{py_version_short}', 45 'platinclude': '{platbase}/include/python{py_version_short}', 46 'scripts': '{base}/bin', 47 'data': '{base}', 48 }, 49 'os2_user': { 50 50 'stdlib': '{userbase}/lib/python{py_version_short}', 51 51 'platstdlib': '{userbase}/lib/python{py_version_short}', … … 157 157 158 158 for key, value in _INSTALL_SCHEMES[scheme].items(): 159 if os.name in ('posix', 'nt' ):159 if os.name in ('posix', 'nt', 'os2'): 160 160 value = os.path.expanduser(value) 161 161 res[key] = os.path.normpath(_subst_vars(value, vars)) … … 463 463 _CONFIG_VARS['projectbase'] = _PROJECT_BASE 464 464 465 if os.name in ('nt', 'os2'):465 if os.name == 'nt': 466 466 _init_non_posix(_CONFIG_VARS) 467 if os.name == 'posix':467 if os.name in ('posix', 'os2'): 468 468 _init_posix(_CONFIG_VARS) 469 469
Note:
See TracChangeset
for help on using the changeset viewer.