Skip to content

Commit 6c11e52

Browse files
committed
Add/modify setup.py
1 parent 6724805 commit 6c11e52

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

setup.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import sys
33
import setuptools
4+
from setuptools import setup
45
import socket
56

67
# Bootstrap a numpy installation before trying to import it.
@@ -72,10 +73,11 @@
7273
# requirements.append("mock")
7374
ext_modules = [ext1]
7475

75-
76-
numpy.distutils.core.setup(
76+
setup(
77+
name='wrf-python',
7778
author="Bill Ladwig",
78-
author_email="ladwig@ucar.edu",
79+
maintainer="GeoCAT",
80+
maintainer_email="geocat@ucar.edu",
7981
description="Diagnostic and interpolation routines for WRF-ARW data.",
8082
long_description=("A collection of diagnostic and interpolation "
8183
"routines to be used with WRF-ARW data.\n\n"
@@ -84,29 +86,29 @@
8486
"Documentation:\n\n"
8587
"http://wrf-python.rtfd.org\n"),
8688
url="https://github.com/NCAR/wrf-python",
89+
version=__version__,
90+
package_dir={"": "src"},
8791
keywords=["python", "wrf-python", "wrf", "forecast", "model",
8892
"weather research and forecasting", "interpolation",
8993
"plotting", "plots", "meteorology", "nwp",
9094
"numerical weather prediction", "diagnostic",
9195
"science", "numpy"],
96+
python_requires='>=3.7',
9297
install_requires=requirements,
9398
classifiers=["Development Status :: 5 - Production/Stable",
9499
"Intended Audience :: Science/Research",
95100
"Intended Audience :: Developers",
96101
"License :: OSI Approved :: Apache Software License",
97102
"Programming Language :: Fortran",
98-
"Programming Language :: Python :: 2.7",
99-
"Programming Language :: Python :: 3.4",
100-
"Programming Language :: Python :: 3.5",
101-
"Programming Language :: Python :: 3.6",
102103
"Programming Language :: Python :: 3.7",
104+
'Programming Language :: Python :: 3.8',
105+
'Programming Language :: Python :: 3.9',
103106
"Topic :: Scientific/Engineering :: Atmospheric Science",
104107
"Topic :: Software Development",
105108
"Operating System :: POSIX",
106109
"Operating System :: Unix",
107110
"Operating System :: MacOS",
108111
"Operating System :: Microsoft :: Windows"],
109-
name="wrf-python",
110112
platforms=["any"],
111113
license="Apache License 2.0",
112114
version=__version__,
@@ -117,3 +119,4 @@
117119
package_data={"wrf": ["data/psadilookup.dat"]},
118120
scripts=[]
119121
)
122+

0 commit comments

Comments
 (0)