projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
564f47e
)
setup.py: fix a bug in the check for whether we are running 'trial' or 'test', that...
author
david-sarah
<david-sarah@jacaranda.org>
Fri, 5 Nov 2010 22:54:15 +0000
(14:54 -0800)
committer
david-sarah
<david-sarah@jacaranda.org>
Fri, 5 Nov 2010 22:54:15 +0000
(14:54 -0800)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 4b1ef20593d92cba4c1d99fd8e0624cfa7dad379..d352a1a4aedb81040f4a64818c8689f9447283b1 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-63,7
+63,7
@@
adglobals = {}
execfile('src/allmydata/_auto_deps.py', adglobals)
install_requires = adglobals['install_requires']
-if
len(sys.argv) > 1 and sys.argv[1] in ['trial', 'test']
and version is not None:
+if
('trial' in sys.argv or 'test' in sys.argv)
and version is not None:
__requires__ = [APPNAME + '==' + version] + install_requires
egg = os.path.realpath(glob.glob('setuptools-*.egg')[0])