From efe4b714c067348d54b64a572e5309bea5765674 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Wed, 21 Sep 2011 10:33:51 -0400 Subject: volk: a way of doing -B in python that is 2.5 compatible (picked from Josh Blum's work). --- volk/bootstrap | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'volk/bootstrap') diff --git a/volk/bootstrap b/volk/bootstrap index a7fb78ac5..838f03aa2 100755 --- a/volk/bootstrap +++ b/volk/bootstrap @@ -20,7 +20,11 @@ # Boston, MA 02110-1301, USA. rm -fr config.cache autom4te*.cache -python -B gen/volk_register.py +#alternative to -B that wont break on python 2.5 +PYTHONDONTWRITEBYTECODE=1 +export PYTHONDONTWRITEBYTECODE +python gen/volk_register.py + mv gen/lib/Makefile.am lib/ aclocal -I config -I gen/config -- cgit