-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT: move setup.py content into setup.cfg
- Loading branch information
Showing
2 changed files
with
75 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,76 @@ | ||
[metadata] | ||
name = siphon | ||
description = A collection of Python utilities for interacting with the Unidata technology stack. | ||
description_file = README.rst | ||
author = Unidata Development Team | ||
author_email = [email protected] | ||
maintainer = Siphon Developers | ||
maintainer_email = [email protected] | ||
license = BSD 3-Clause | ||
license_file = LICENSE | ||
platform = any | ||
keywords = meteorology, weather | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Topic :: Scientific/Engineering | ||
Intended Audience :: Science/Research | ||
Operating System :: OS Independent | ||
License :: OSI Approved :: BSD Licens | ||
url = https://github.com/Unidata/siphon | ||
project_urls = | ||
Documentation = https://unidata.github.io/siphon/ | ||
Release Notes = https://github.com/Unidata/siphon/releases | ||
Bug Tracker = https://github.com/Unidata/siphon/issues | ||
Source Code = https://github.com/Unidata/siphon | ||
|
||
[options] | ||
package_dir = | ||
= src | ||
packages = find: | ||
setup_requires = setuptools_scm | ||
python_requires = >=3.6 | ||
install_requires = | ||
beautifulsoup4>=4.6 | ||
numpy>=1.8 | ||
pandas | ||
protobuf>=3.0.0a3 | ||
requests>=1.2 | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
[options.extras_require] | ||
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 | ||
netcdf = netCDF4>=1.1.0 | ||
dev = ipython[all]>=3.1 | ||
|
||
[flake8] | ||
max-line-length = 95 | ||
application-import-names = siphon | ||
|
@@ -26,18 +99,6 @@ norecursedirs = build docs | |
ignore-path = docs/build,docs/api | ||
max-line-length = 95 | ||
|
||
[metadata] | ||
description-file = README.rst | ||
|
||
[options] | ||
package_dir = | ||
= src | ||
packages = find: | ||
setup_requires = setuptools_scm | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
[bdist_wheel] | ||
# This flag says that the code is written to work on both Python 2 and 3. | ||
universal=1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,57 +3,6 @@ | |
# SPDX-License-Identifier: BSD-3-Clause | ||
"""Setup script for installing Siphon.""" | ||
|
||
from __future__ import print_function | ||
from setuptools import setup | ||
|
||
import sys | ||
|
||
from setuptools import find_packages, setup | ||
|
||
|
||
# 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', | ||
use_scm_version={'version_scheme': 'post-release', 'local_scheme': 'dirty-tag'}, | ||
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), | ||
) | ||
setup(use_scm_version={'version_scheme': 'post-release'}) |