Skip to content

Commit cc99a1a

Browse files
kishanjrleeman
kishan
authored andcommitted
Fix dependecies. Unidata#734 (Unidata#744)
Fix dependecies. Unidata#734
1 parent 6223bf3 commit cc99a1a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

setup.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,11 @@
55

66
from __future__ import print_function
77

8-
import sys
9-
108
from setuptools import find_packages, setup
119
import versioneer
1210

1311
ver = versioneer.get_version()
1412

15-
# Need to conditionally add enum support for older Python
16-
dependencies = ['matplotlib>=1.4', 'numpy>=1.10.0', 'scipy>=0.14', 'pint>=0.8']
17-
if sys.version_info < (3, 4):
18-
dependencies.append('enum34')
19-
2013
setup(
2114
name='MetPy',
2215
version=ver,
@@ -56,7 +49,8 @@
5649
'_static/metpy_150x150.png', '_static/unidata_75x75.png',
5750
'_static/unidata_150x150.png']},
5851

59-
install_requires=dependencies,
52+
install_requires=['matplotlib>=1.4', 'numpy>=1.10.0', 'scipy>=0.14',
53+
'pint>=0.8', 'enum34;python_version<"3.4"'],
6054
extras_require={
6155
'cdm': ['pyproj>=1.9.4'],
6256
'dev': ['ipython[all]>=3.1'],
@@ -74,4 +68,4 @@
7468

7569
zip_safe=True,
7670

77-
download_url='https://github.com/Unidata/MetPy/archive/v{}.tar.gz'.format(ver),)
71+
download_url='https://github.com/Unidata/MetPy/archive/v{}.tar.gz'.format(ver), )

0 commit comments

Comments
 (0)