diff options
author | Tom Rondeau | 2011-09-21 10:33:51 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-09-21 10:33:51 -0400 |
commit | efe4b714c067348d54b64a572e5309bea5765674 (patch) | |
tree | 23c85f432fb25749f6f2e353571884c63fc8de7b | |
parent | b540fb4fccc03b1699809d7b74e4a211f5417524 (diff) | |
download | gnuradio-efe4b714c067348d54b64a572e5309bea5765674.tar.gz gnuradio-efe4b714c067348d54b64a572e5309bea5765674.tar.bz2 gnuradio-efe4b714c067348d54b64a572e5309bea5765674.zip |
volk: a way of doing -B in python that is 2.5 compatible (picked from Josh Blum's work).
-rwxr-xr-x | volk/bootstrap | 6 |
1 files changed, 5 insertions, 1 deletions
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 |