vb_run_benchmarks.py not installed?
peterjc opened this issue · 2 comments
Hi,
I installed vbench from git as of fb0132f using:
export PYTHONPATH="/home/pjcock/lib/python2.6/site-packages/"
python2.6 setup.py install --prefix=$HOME
As far as I can tell, vb_run_benchmarks.py is not getting installed under $HOME/bin nor $HOME/lib - meaning when I try to use vbench (using an example based on https://github.com/wesm/pandas/blob/5d4bf8febdad007d7804c2e91c5bead01ca92637/vb_suite/benchmarks.py but for another project), it fails with errors like this:
python vb_run_benchmarks.py /tmp/vbench/benchmarks.pickle /tmp/vbench/results.pickle
stdout:
python: can't open file 'vb_run_benchmarks.py': [Errno 2] No such file or directory
I have tried putting symlinks to vb_run_benchmarks.py on my path, in the current directory, and in the temp directory used to run the benchmarks, but to no avail.
The scripts
directory needs to be added to setup.py
as a data directory. I've been using vbench with python setupegg.py develop
which you might consider also. obviously need to fix things so the lib can be installed
Added the scripts directory to the setup.py build