[pypy-svn] pypy default: bah, forgot to actually return the sitedir

antocuni commits-noreply at bitbucket.org
Wed Jan 19 08:49:52 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r40923:3aedd8f40eab
Date: 2011-01-18 21:25 +0100
http://bitbucket.org/pypy/pypy/changeset/3aedd8f40eab/

Log:	bah, forgot to actually return the sitedir

diff --git a/lib-python/modified-2.7.0/site.py b/lib-python/modified-2.7.0/site.py
--- a/lib-python/modified-2.7.0/site.py
+++ b/lib-python/modified-2.7.0/site.py
@@ -285,6 +285,7 @@
     if hasattr(sys, 'pypy_version_info') and hasattr(sys, 'prefix'):
         from distutils.sysconfig import get_python_lib
         sitedir = get_python_lib(standard_lib=False)
+        return [sitedir]
 
     # cpython logic
     sitepackages = []


More information about the Pypy-commit mailing list