projects
/
tahoe-lafs
/
zfec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9375781
)
setup: remove "--debug" from sys.argv if it is present, after detecting it, so that...
author
zooko
<zooko@zooko.com>
Sat, 19 Jan 2008 03:03:22 +0000
(08:33 +0530)
committer
zooko
<zooko@zooko.com>
Sat, 19 Jan 2008 03:03:22 +0000
(08:33 +0530)
darcs-hash:
9afbeab84300f6dccd3d0449b6afcf11595d0210
zfec/setup.py
patch
|
blob
|
history
diff --git
a/zfec/setup.py
b/zfec/setup.py
index 26acf6e95606fbc4db67b5dc466b979b311e217a..a39ad4bd8061064a22595ed0e52965f3baeaf046 100755
(executable)
--- a/
zfec/setup.py
+++ b/
zfec/setup.py
@@
-27,7
+27,11
@@
else:
from setuptools import Extension, find_packages, setup
-DEBUGMODE=("--debug" in sys.argv)
+if "--debug" in sys.argv:
+ DEBUGMODE=True
+ sys.argv.remove("--debug")
+else:
+ DEBUGMODE=("--debug" in sys.argv)
extra_compile_args=[]
extra_link_args=[]