Parcourir la source

Don't pull in geventhttpclient as tests_require on windows.

Gary van der Merwé il y a 10 ans
Parent
commit
d02d8c0bcd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -48,7 +48,7 @@ if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
 
 if sys.version_info[0] == 2:
     tests_require = ['fastimport', 'mock']
-    if not '__pypy__' in sys.modules:
+    if not '__pypy__' in sys.modules and not sys.platform == 'win32':
         tests_require.extend(['gevent', 'geventhttpclient'])
 else:
     # fastimport, gevent, geventhttpclient are not available for PY3