mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 06:47:57 -05:00
Converting install and build process to pip and pyproject.toml instead of setup.py
This commit is contained in:
parent
7d35776d1b
commit
d256079e96
506 changed files with 23 additions and 31 deletions
23
pyproject.toml
Normal file
23
pyproject.toml
Normal file
|
@ -0,0 +1,23 @@
|
|||
[build-system]
|
||||
requires = [
|
||||
"setuptools"
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "python-awips"
|
||||
version = "23.4.1"
|
||||
authors = [
|
||||
{ name="NSF Unidata", email="support-awips@ucar.edu" },
|
||||
]
|
||||
description = "A framework for requesting AWIPS meteorological datasets from an EDEX server"
|
||||
readme = "README.rst"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">=3.8"
|
||||
dependencies = [ "numpy"]
|
||||
[project.optional-dependencies]
|
||||
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"]
|
||||
|
31
setup.py
31
setup.py
|
@ -1,31 +0,0 @@
|
|||
# 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']
|
||||
if sys.version_info < (3, 4):
|
||||
dependencies.append('enum34')
|
||||
|
||||
ver = "23.01"
|
||||
|
||||
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',
|
||||
author='NSF 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']
|
||||
}
|
||||
)
|
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 379 B |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue