forked from Unidata/siphon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
64 lines (55 loc) · 2.56 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright (c) 2013-2015 Siphon Contributors.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
"""Setup script for installing Siphon."""
from __future__ import print_function
import sys
from setuptools import find_packages, setup
import versioneer
ver = versioneer.get_version()
# Need to conditionally add enum support for older Python
dependencies = ['numpy>=1.8', 'protobuf>=3.0.0a3', 'requests>=1.2', 'beautifulsoup4>=4.6',
'pandas']
if sys.version_info < (3, 4):
dependencies.append('enum34')
setup(
name='siphon',
version=ver,
packages=find_packages(),
author='Unidata Development Team',
author_email='[email protected]',
license='BSD 3-Clause',
url='https://github.com/Unidata/siphon',
description=('A collection of Python utilities for interacting with the '
'Unidata technology stack.'),
keywords='meteorology weather',
classifiers=['Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
install_requires=dependencies,
extras_require={
'netcdf': 'netCDF4>=1.1.0',
'dev': 'ipython[all]>=3.1',
'test': ['pytest', 'pytest-flake8', 'pytest-runner',
'netCDF4>=1.1.0',
'flake8>3.2.0', 'flake8-builtins', 'flake8-comprehensions',
'flake8-copyright', 'flake8-docstrings', 'flake8-import-order',
'flake8-mutable', 'flake8-pep3101', 'flake8-print', 'flake8-quotes',
'flake8-rst-docstrings', 'pep8-naming',
'vcrpy~=1.5,!=1.7.0,!=1.7.1,!=1.7.2,!=1.7.3', 'xarray>=0.10.2'],
'doc': ['sphinx>=1.3,!=1.6.4', 'sphinx-gallery', 'doc8', 'm2r'],
# SciPy needed for cartopy; we don't use cartopy[plotting] because
# that will pull in GDAL.
'examples': ['matplotlib>=1.3', 'cartopy>=0.13.1', 'scipy', 'metpy']
},
download_url='https://github.com/Unidata/siphon/archive/v{}.tar.gz'.format(ver),
cmdclass=versioneer.get_cmdclass(),
)