Skip to content

Commit a1b8fe2

Browse files
y-pwesm
y-p
authored andcommitted
BLD: update setup.py numpy version deps for python3
1 parent 9979464 commit a1b8fe2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,15 @@
5151
setuptools_kwargs = {}
5252
if sys.version_info[0] >= 3:
5353

54+
min_numpy_ver = 1.6
55+
if sys.version_info[1] >= 3: # 3.3 needs numpy 1.7+
56+
min_numpy_ver = 1.7
57+
5458
setuptools_kwargs = {'use_2to3': True,
5559
'zip_safe': False,
5660
'install_requires': ['python-dateutil >= 2',
5761
'pytz',
58-
'numpy >= 1.4'],
62+
'numpy >= %s' % min_numpy_ver],
5963
'use_2to3_exclude_fixers': ['lib2to3.fixes.fix_next',
6064
],
6165
}

0 commit comments

Comments
 (0)