[pypy-commit] pypy default: pylint needs a LIBDIR to be defined. This makes it not crash.

Buck Golemon noreply at buildbot.pypy.org
Tue Mar 13 23:04:57 CET 2012


Author: Buck Golemon <buck at yelp.com>
Branch: 
Changeset: r53495:85edbec019e9
Date: 2012-03-12 16:51 -0700
http://bitbucket.org/pypy/pypy/changeset/85edbec019e9/

Log:	pylint needs a LIBDIR to be defined. This makes it not crash.

diff --git a/lib-python/modified-2.7/distutils/sysconfig_pypy.py b/lib-python/modified-2.7/distutils/sysconfig_pypy.py
--- a/lib-python/modified-2.7/distutils/sysconfig_pypy.py
+++ b/lib-python/modified-2.7/distutils/sysconfig_pypy.py
@@ -60,6 +60,7 @@
     g['EXE'] = ""
     g['SO'] = _get_so_extension() or ".so"
     g['SOABI'] = g['SO'].rsplit('.')[0]
+    g['LIBDIR'] = os.path.join(sys.prefix, 'lib')
 
     global _config_vars
     _config_vars = g
@@ -71,6 +72,7 @@
     g['EXE'] = ".exe"
     g['SO'] = _get_so_extension() or ".pyd"
     g['SOABI'] = g['SO'].rsplit('.')[0]
+    g['LIBDIR'] = os.path.join(sys.prefix, 'lib')
 
     global _config_vars
     _config_vars = g


More information about the pypy-commit mailing list