[pypy-commit] pypy vendor-rename: Oops.

Manuel Jacob noreply at buildbot.pypy.org
Sun Mar 3 20:12:39 CET 2013


Author: Manuel Jacob
Branch: vendor-rename
Changeset: r61969:33aeb97728f9
Date: 2013-03-03 20:12 +0100
http://bitbucket.org/pypy/pypy/changeset/33aeb97728f9/

Log:	Oops.

diff --git a/pypy/module/sys/initpath.py b/pypy/module/sys/initpath.py
--- a/pypy/module/sys/initpath.py
+++ b/pypy/module/sys/initpath.py
@@ -91,7 +91,7 @@
     ``lib_pypy``. If they cannot be found, it raises OSError.
     """
     from pypy.module.sys.version import CPYTHON_VERSION
-    dirname = '%d.%d' % CPYTHON_VERSION[0]
+    dirname = '%d' % CPYTHON_VERSION[0]
     lib_python = os.path.join(prefix, 'lib-python')
     python_std_lib = os.path.join(lib_python, dirname)
     _checkdir(python_std_lib)
diff --git a/pypy/tool/lib_pypy.py b/pypy/tool/lib_pypy.py
--- a/pypy/tool/lib_pypy.py
+++ b/pypy/tool/lib_pypy.py
@@ -5,7 +5,7 @@
 
 LIB_ROOT = py.path.local(pypy.__path__[0]).dirpath()
 LIB_PYPY =  LIB_ROOT.join('lib_pypy')
-LIB_PYTHON = LIB_ROOT.join('lib-python', '%d.%d' % CPYTHON_VERSION[0])
+LIB_PYTHON = LIB_ROOT.join('lib-python', '%d' % CPYTHON_VERSION[0])
 
 
 def import_from_lib_pypy(modname):


More information about the pypy-commit mailing list