[pypy-svn] r56955 - pypy/dist/pypy/translator/benchmark
arigo at codespeak.net
arigo at codespeak.net
Mon Aug 4 11:26:12 CEST 2008
Author: arigo
Date: Mon Aug 4 11:26:12 2008
New Revision: 56955
Modified:
pypy/dist/pypy/translator/benchmark/benchmarks.py
Log:
Fix for py lib changes.
Modified: pypy/dist/pypy/translator/benchmark/benchmarks.py
==============================================================================
--- pypy/dist/pypy/translator/benchmark/benchmarks.py (original)
+++ pypy/dist/pypy/translator/benchmark/benchmarks.py Mon Aug 4 11:26:12 2008
@@ -123,7 +123,7 @@
'svn co -r100 http://johnnydebris.net/templess/trunk templess'
"""
here = py.magic.autopath().dirpath()
- pypath = py.__package__.getpath().dirpath()
+ pypath = os.path.dirname(os.path.dirname(py.__file__))
templessdir = here.join('templess')
testscript = templessdir.join('test/oneshot.py')
command = 'PYTHONPATH="%s:%s" "%s" "%s" 100' % (here, pypath,
More information about the Pypy-commit
mailing list