[pypy-svn] r32787 - pypy/dist/pypy/config
arigo at codespeak.net
arigo at codespeak.net
Sun Oct 1 13:05:14 CEST 2006
Author: arigo
Date: Sun Oct 1 13:05:11 2006
New Revision: 32787
Added:
pypy/dist/pypy/config/autopath.py
- copied unchanged from r32786, pypy/dist/pypy/tool/autopath.py
Modified:
pypy/dist/pypy/config/pypyoption.py
Log:
Argh! A py.path.local object in sys.path.
Argh(2)! We already have autopath.py for sys.path hacking, let's use it
here too.
Modified: pypy/dist/pypy/config/pypyoption.py
==============================================================================
--- pypy/dist/pypy/config/pypyoption.py (original)
+++ pypy/dist/pypy/config/pypyoption.py Sun Oct 1 13:05:11 2006
@@ -1,6 +1,5 @@
+import autopath
import py
-#print py.magic.autopath().dirpath().dirpath().dirpath()
-py.std.sys.path.insert(0, py.magic.autopath().dirpath().dirpath().dirpath())
from pypy.config.config import OptionDescription, BoolOption, IntOption
from pypy.config.config import ChoiceOption, to_optparse, Config
More information about the pypy-svn
mailing list