[pypy-commit] pypy py3k: issue1797: fix get_python_lib(standard_lib=True) per our 'lib-python/3' layout

pjenvey noreply at buildbot.pypy.org
Mon Jun 23 03:57:30 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r72146:aca5ce9b7a02
Date: 2014-06-22 18:56 -0700
http://bitbucket.org/pypy/pypy/changeset/aca5ce9b7a02/

Log:	issue1797: fix get_python_lib(standard_lib=True) per our 'lib-
	python/3' layout

diff --git a/lib-python/3/distutils/sysconfig_pypy.py b/lib-python/3/distutils/sysconfig_pypy.py
--- a/lib-python/3/distutils/sysconfig_pypy.py
+++ b/lib-python/3/distutils/sysconfig_pypy.py
@@ -52,7 +52,7 @@
     if prefix is None:
         prefix = PREFIX
     if standard_lib:
-        return os.path.join(prefix, "lib-python", get_python_version())
+        return os.path.join(prefix, "lib-python", sys.version[0])
     return os.path.join(prefix, 'site-packages')
 
 


More information about the pypy-commit mailing list