Skip to content
Browse files

Working on #30070 - sysconfig will now use the proper per-user direct…

…ory on Windows, but not posix system. I need more information on how the posix ones should be done.
  • Loading branch information...
1 parent 45caff4 commit 06f2ad795ff3b338b50723106da9daa2692d2970 @jdhardy committed Feb 21, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 External.LCA_RESTRICTED/Languages/IronPython/27/Lib/sysconfig.py
View
12 External.LCA_RESTRICTED/Languages/IronPython/27/Lib/sysconfig.py
@@ -56,11 +56,11 @@
'data' : '{userbase}',
},
'nt_user': {
- 'stdlib': '{userbase}/Python{py_version_nodot}',
- 'platstdlib': '{userbase}/Python{py_version_nodot}',
- 'purelib': '{userbase}/Python{py_version_nodot}/site-packages',
- 'platlib': '{userbase}/Python{py_version_nodot}/site-packages',
- 'include': '{userbase}/Python{py_version_nodot}/Include',
+ 'stdlib': '{userbase}/IronPython{py_version_nodot}',
+ 'platstdlib': '{userbase}/IronPython{py_version_nodot}',
+ 'purelib': '{userbase}/IronPython{py_version_nodot}/site-packages',
+ 'platlib': '{userbase}/IronPython{py_version_nodot}/site-packages',
+ 'include': '{userbase}/IronPython{py_version_nodot}/Include',
'scripts': '{userbase}/Scripts',
'data' : '{userbase}',
},
@@ -157,7 +157,7 @@ def _get_default_scheme():
return os.name
def _getuserbase():
- env_base = os.environ.get("PYTHONUSERBASE", None)
+ env_base = os.environ.get("IRONPYTHONUSERBASE", None)
def joinuser(*args):
return os.path.expanduser(os.path.join(*args))

0 comments on commit 06f2ad7

Please sign in to comment.
Something went wrong with that request. Please try again.