[Python-checkins] r80967 - in python/trunk: Lib/site.py Lib/sysconfig.py Misc/NEWS (original) (raw)

ronald.oussoren python-checkins at python.org
Sat May 8 12:29:06 CEST 2010


Author: ronald.oussoren Date: Sat May 8 12:29:06 2010 New Revision: 80967

Log: Issue #8084: ensure that the --user directory conforms to platforms standars on OSX when using a python framework.

Modified: python/trunk/Lib/site.py python/trunk/Lib/sysconfig.py python/trunk/Misc/NEWS

Modified: python/trunk/Lib/site.py

--- python/trunk/Lib/site.py (original) +++ python/trunk/Lib/site.py Sat May 8 12:29:06 2010 @@ -243,6 +243,13 @@

 from sysconfig import get_path
 import os

@@ -289,13 +296,11 @@ if sys.platform == "darwin": # for framework builds only we add the standard Apple # locations.

Modified: python/trunk/Lib/sysconfig.py

--- python/trunk/Lib/sysconfig.py (original) +++ python/trunk/Lib/sysconfig.py Sat May 8 12:29:06 2010 @@ -73,6 +73,15 @@ 'scripts': '{userbase}/bin', 'data' : '{userbase}', },

_SCHEME_KEYS = ('stdlib', 'platstdlib', 'purelib', 'platlib', 'include', @@ -157,6 +166,12 @@ base = os.environ.get("APPDATA") or "~" return env_base if env_base else joinuser(base, "Python")

@@ -398,7 +413,6 @@ _CONFIG_VARS['py_version_nodot'] = _PY_VERSION[0] + _PY_VERSION[2] _CONFIG_VARS['base'] = _PREFIX _CONFIG_VARS['platbase'] = _EXEC_PREFIX

@@ -406,6 +420,11 @@ if os.name == 'posix': _init_posix(_CONFIG_VARS)

Modified: python/trunk/Misc/NEWS

--- python/trunk/Misc/NEWS (original) +++ python/trunk/Misc/NEWS Sat May 8 12:29:06 2010 @@ -38,6 +38,12 @@ - Issue #8404: Fixed set operations on dictionary views. +- Issue #8084: PEP 370 now conforms to system conventions for framework + builds on MacOS X. That is, "python setup.py install --user" will install + into "/Library/Python/2.7" instead of "/.local". + + + Library



More information about the Python-checkins mailing list