mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-01 15:20:55 +00:00
setup: fix previous patch to set reactor to poll reactor on linux or cygwin
This commit is contained in:
parent
6db8f38c3b
commit
08aada50ee
3
setup.py
3
setup.py
@ -160,8 +160,7 @@ if 'trial' in sys.argv[1:]:
|
||||
# available but buggy on some versions of Mac OS X, so just because you can install it
|
||||
# doesn't mean we want to use it on every platform.
|
||||
if sys.platform in ("linux2", "cygwin"):
|
||||
for arg in sys.argv:
|
||||
if arg.startswith("--reactor")
|
||||
if not [a for a in sys.argv if a.startswith("--reactor")]:
|
||||
sys.argv.append("--reactor=poll")
|
||||
setup_requires.append('setuptools_trial >= 0.2')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user