|
@@ -46,15 +46,10 @@ if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
|
|
|
if l.startswith('Xcode') and int(l.split()[1].split('.')[0]) >= 4:
|
|
|
os.environ['ARCHFLAGS'] = ''
|
|
|
|
|
|
-if sys.version_info[0] == 2:
|
|
|
- tests_require = ['fastimport']
|
|
|
- if not '__pypy__' in sys.modules and not sys.platform == 'win32':
|
|
|
- tests_require.extend([
|
|
|
- 'gevent', 'geventhttpclient', 'mock', 'setuptools>=17.1'])
|
|
|
-else:
|
|
|
-
|
|
|
-
|
|
|
- tests_require = []
|
|
|
+tests_require = ['fastimport']
|
|
|
+if not '__pypy__' in sys.modules and not sys.platform == 'win32':
|
|
|
+ tests_require.extend([
|
|
|
+ 'gevent', 'geventhttpclient', 'mock', 'setuptools>=17.1'])
|
|
|
|
|
|
if sys.version_info[0] > 2 and sys.platform == 'win32':
|
|
|
|