[pypy-commit] pypy app_main-refactor: it seems that this hack is no longer needed
antocuni
noreply at buildbot.pypy.org
Mon Jun 11 13:42:15 CEST 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: app_main-refactor
Changeset: r55573:3f3a98e9acd7
Date: 2012-06-11 13:37 +0200
http://bitbucket.org/pypy/pypy/changeset/3f3a98e9acd7/
Log: it seems that this hack is no longer needed
diff --git a/pypy/translator/goal/app_main.py b/pypy/translator/goal/app_main.py
--- a/pypy/translator/goal/app_main.py
+++ b/pypy/translator/goal/app_main.py
@@ -732,10 +732,7 @@
imp._run_compiled_module = _run_compiled_module
imp._getimporter = _getimporter
- # stick the current sys.path into $PYTHONPATH, so that CPython still
- # finds its own extension modules :-/
import os
- os.environ['PYTHONPATH'] = ':'.join(sys.path)
reset = []
if 'PYTHONINSPECT_' in os.environ:
reset.append(('PYTHONINSPECT', os.environ.get('PYTHONINSPECT', '')))
More information about the pypy-commit
mailing list