summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-10-14 20:23:23 +0000
committerNick Mathewson <nickm@torproject.org>2008-10-14 20:23:23 +0000
commit485d8f9ff3cab38b2a1d3371aec9134732f2a1b8 (patch)
treed7b64df87d63030ff6eee49feb30cfbfd4e00662
parent16c214783dc286f1c5b01be7b71b2fd4977c008c (diff)
Work with python 2.4 -m syntax
git-svn-id: file:///home/or/svnrepo/updater/trunk@17100 55e972cd-5a19-0410-ae62-a4d7a52db4cd
-rw-r--r--Makefile4
-rw-r--r--setup.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aa5d6c0..c2268cb 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ all:
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
diff --git a/setup.py b/setup.py
index 88116f2..f8622b7 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ def makescripts(extrapath=None):
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)