Permalink
Browse files

Use Makefile to setup PYTHONPATH for benchmark

  • Loading branch information...
1 parent c3ce909 commit 532fb2e122d3d4cf73310c7231baf6b2d4a9a02e @tkf committed Nov 22, 2012
Showing with 8 additions and 2 deletions.
  1. +8 −2 Makefile
View
@@ -1,4 +1,7 @@
-.PHONY: test doc upload benchmark clean-benchmark
+.PHONY: test doc upload benchmark plot-benchmark clean-benchmark
+
+vbench_dir = ${PWD}/lib/vbench
+PYTHONPATH := ${PYTHONPATH}:${vbench_dir}
sexpdata.py: README.rst
cog.py -r $@
@@ -13,7 +16,10 @@ upload: sexpdata.py
python setup.py register sdist upload
benchmark:
- benchmark/run.sh
+ python benchmark/run_benchmark.py
+
+plot-benchmark:
+ python benchmark/plot_benchmark.py
clean-benchmark:
rm -rf tmp

0 comments on commit 532fb2e

Please sign in to comment.