projects
/
joel
/
kofoto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd3958
)
Handle setup.py invocation without arguments.
author
Joel Rosdahl
<joel@rosdahl.net>
Sun, 8 Aug 2004 08:04:16 +0000
(08:04 +0000)
committer
Joel Rosdahl
<joel@rosdahl.net>
Sun, 8 Aug 2004 08:04:16 +0000
(08:04 +0000)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index
d843385
..
12d7026
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-6,7
+6,7
@@
import os
import shutil
import sys
-if sys.argv[1] == "windows":
+if
len(sys.argv) > 0 and
sys.argv[1] == "windows":
windows_mode = True
del sys.argv[1]
else: