[or-cvs] r17100: {updater} Work with python 2.4 -m syntax (updater/trunk)
nickm at seul.org
nickm at seul.org
Tue Oct 14 20:23:23 UTC 2008
Author: nickm
Date: 2008-10-14 16:23:23 -0400 (Tue, 14 Oct 2008)
New Revision: 17100
Modified:
updater/trunk/Makefile
updater/trunk/setup.py
Log:
Work with python 2.4 -m syntax
Modified: updater/trunk/Makefile
===================================================================
--- updater/trunk/Makefile 2008-10-14 20:19:15 UTC (rev 17099)
+++ updater/trunk/Makefile 2008-10-14 20:23:23 UTC (rev 17100)
@@ -3,7 +3,7 @@
python setup.py build
test:
- export PYTHONPATH=./lib && python -m thandy.tests
+ export PYTHONPATH=./lib/ && python -m thandy/tests
install:
- python setup.py install
\ No newline at end of file
+ python setup.py install
Modified: updater/trunk/setup.py
===================================================================
--- updater/trunk/setup.py 2008-10-14 20:19:15 UTC (rev 17099)
+++ updater/trunk/setup.py 2008-10-14 20:23:23 UTC (rev 17100)
@@ -43,7 +43,7 @@
if extrapath:
f.write('PYTHONPATH="$PYTHONPATH:%s"\n'%extrapath)
f.write('export PYTHONPATH\n')
- f.write('%s -m thandy.%s "$@"\n' %(sys.executable, modname))
+ f.write('%s -m thandy/%s "$@"\n' %(sys.executable, modname))
f.close()
SCRIPTS.append(fname)
More information about the tor-commits
mailing list