[pypy-svn] r73672 - pypy/branch/cpython-extension/lib-python/modified-2.5.2/distutils

agaynor at codespeak.net agaynor at codespeak.net
Mon Apr 12 17:00:14 CEST 2010


Author: agaynor
Date: Mon Apr 12 17:00:13 2010
New Revision: 73672

Modified:
   pypy/branch/cpython-extension/lib-python/modified-2.5.2/distutils/sysconfig_pypy.py
Log:
os.path.join takes *args

Modified: pypy/branch/cpython-extension/lib-python/modified-2.5.2/distutils/sysconfig_pypy.py
==============================================================================
--- pypy/branch/cpython-extension/lib-python/modified-2.5.2/distutils/sysconfig_pypy.py	(original)
+++ pypy/branch/cpython-extension/lib-python/modified-2.5.2/distutils/sysconfig_pypy.py	Mon Apr 12 17:00:13 2010
@@ -14,8 +14,8 @@
 def get_python_inc(plat_specific=0, prefix=None):
     from os.path import join as j
     if plat_specific:
-        return j(j(sys.pypy_prefix, "pypy"), "_interfaces")
-    return j(j(j(j(sys.pypy_prefix, 'pypy'), 'module'), 'cpyext'), 'include')
+        return j(sys.pypy_prefix, "pypy", "_interfaces")
+    return j(sys.pypy_prefix, 'pypy', 'module', 'cpyext', 'include')
 
 def get_python_version():
     """Return a string containing the major and minor Python version,



More information about the Pypy-commit mailing list