Bug 758739 - Allow virtualenv to use system-wide site-packages. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Sat, 26 May 2012 08:44:02 +0200
changeset 96487 ca63d04985f94bf12acb1f23a5dd7d20d2178d29
parent 96486 a64fac52f70888dc4556d27beebe6ae797d7aa03
child 96488 cd62c4b8f500c4b34d4fca7718a4593982ed8b47
child 96512 b1e2749bd72bc4c6ffb4b75b115d3cda04549b46
push idunknown
push userunknown
push dateunknown
reviewersted
bugs758739
milestone15.0a1
Bug 758739 - Allow virtualenv to use system-wide site-packages. r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -8982,17 +8982,17 @@ MOZ_DEFINES=$DEFS
 AC_SUBST(MOZ_DEFINES)
 rm -f confdefs.h
 mv confdefs.h.save confdefs.h
 
 dnl Create a virtualenv where we can install local Python packages
 AC_MSG_RESULT([Creating Python virtualenv])
 rm -rf _virtualenv
 mkdir -p _virtualenv
-MACOSX_DEPLOYMENT_TARGET= PYTHONDONTWRITEBYTECODE= $PYTHON $_topsrcdir/other-licenses/virtualenv/virtualenv.py ./_virtualenv
+MACOSX_DEPLOYMENT_TARGET= PYTHONDONTWRITEBYTECODE= $PYTHON $_topsrcdir/other-licenses/virtualenv/virtualenv.py --system-site-packages ./_virtualenv
 case "$host_os" in
 mingw*)
     PYTHON=`pwd`/_virtualenv/Scripts/python.exe
     ;;
 *)
     PYTHON=`pwd`/_virtualenv/bin/python
     ;;
 esac