python-awips/setup.py
Shay Carter 425751dee4 First pass at implementing automated publishing
- created a new 'release.yml' file which is a GH Action that is triggered by a new Published Release
- it builds python from the latest in the main branch, and then will push it to pip (that part is commented out for this first pass for testing)

Small changes to the setup.py for python-awips builds
- changed the doc url to point to our new/current doc site
- changed the author's email from mj's to support-awips

Add in logic for publishing release to pypi
2022-01-05 16:12:16 -07:00

32 lines
1 KiB
Python

# 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', 'six']
if sys.version_info < (3, 4):
dependencies.append('enum34')
ver = "18.1.8"
setup(
name='python-awips',
version=ver,
description='A framework for requesting AWIPS meteorological datasets from an EDEX server',
packages=find_packages(exclude='data'),
license='BSD',
url='http://unidata.github.io/python-awips',
download_url='https://github.com/Unidata/python-awips/archive/{}.tar.gz'.format(ver),
author='Unidata',
author_email='support-awips@ucar.edu',
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']
}
)