mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 22:57:56 -05:00
setup.py updates for versioning, dependencies, py3 compliance. closes #3
This commit is contained in:
parent
1a64d19db2
commit
c8bf113cc7
1 changed files with 21 additions and 4 deletions
25
setup.py
25
setup.py
|
@ -1,16 +1,33 @@
|
|||
# Copyright (c) 2017 UCAR Unidata Program Center.
|
||||
# Distributed under the terms of the BSD 3-Clause License.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
from distutils.core import setup
|
||||
from setuptools import find_packages
|
||||
|
||||
dependencies = ['numpy','shapely','six']
|
||||
if sys.version_info < (3, 4):
|
||||
dependencies.append('enum34')
|
||||
|
||||
ver="0.9.10"
|
||||
|
||||
setup(
|
||||
name='python-awips',
|
||||
version='0.9.10',
|
||||
version=ver,
|
||||
description='A framework for requesting AWIPS meteorological datasets from an EDEX server',
|
||||
packages=find_packages(exclude='data'),
|
||||
license='Open Source',
|
||||
license='BSD',
|
||||
url='http://python-awips.readthedocs.io',
|
||||
download_url='https://github.com/Unidata/python-awips/tarball/0.9.10',
|
||||
download_url='https://github.com/Unidata/python-awisp/archive/v{}.tar.gz'.format(ver),
|
||||
author='Unidata',
|
||||
author_email='mjames@ucar.edu',
|
||||
requires=['argparse','shapely','numpy','six']
|
||||
install_requires=dependencies,
|
||||
extras_require={
|
||||
'cdm': ['pyproj>=1.9.4'],
|
||||
'dev': ['ipython[all]>=3.1'],
|
||||
'doc': ['sphinx>=1.4', 'sphinx-gallery', 'doc8'],
|
||||
'examples': ['cartopy>=0.13.1','metpy>=0.4.0']
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue