Skip to content

Commit 468b028

Browse files
committed
update setup.py
1 parent 07b4895 commit 468b028

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

doc/source/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Dependencies
200200

201201
* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__
202202
* `NumPy <http://www.numpy.org>`__: 1.9.0 or higher
203-
* `python-dateutil <//https://dateutil.readthedocs.io/en/stable/>`__: 2.5 or higher
203+
* `python-dateutil <//https://dateutil.readthedocs.io/en/stable/>`__: 2.5.0 or higher
204204
* `pytz <http://pytz.sourceforge.net/>`__
205205

206206
.. _install.recommended_dependencies:

setup.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import versioneer
2020
cmdclass = versioneer.get_cmdclass()
2121

22-
PY3 = sys.version_info[0] >= 3
23-
2422

2523
def is_platform_windows():
2624
return sys.platform == 'win32' or sys.platform == 'cygwin'
@@ -46,7 +44,7 @@ def is_platform_mac():
4644
min_numpy_ver = '1.9.0'
4745
setuptools_kwargs = {
4846
'install_requires': [
49-
'python-dateutil >= 2' if PY3 else 'python-dateutil',
47+
'python-dateutil >= 2.5.0',
5048
'pytz >= 2011k',
5149
'numpy >= {numpy_ver}'.format(numpy_ver=min_numpy_ver),
5250
],

0 commit comments

Comments
 (0)