[pypy-commit] buildbot default: require an executable

fijal noreply at buildbot.pypy.org
Mon Jan 23 12:37:19 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r610:1c946f853e6b
Date: 2012-01-23 13:33 +0200
http://bitbucket.org/pypy/buildbot/changeset/1c946f853e6b/

Log:	require an executable

diff --git a/numready.py b/numready.py
--- a/numready.py
+++ b/numready.py
@@ -197,10 +197,8 @@
     return l
 
 def main(argv):
-    assert platform.python_implementation() == "PyPy"
-
     cpy_items = find_numpy_items("/usr/bin/python")
-    pypy_items = find_numpy_items(sys.executable, "numpypy")
+    pypy_items = find_numpy_items(argv[1], "numpypy")
     all_items = []
 
     msg = '%d/%d names, %d/%d ndarray attributes, %d/%d dtype attributes' % (


More information about the pypy-commit mailing list