|
1 | 1 | import os
|
2 | 2 | import sys
|
3 | 3 | import setuptools
|
| 4 | +from setuptools import setup |
4 | 5 | import socket
|
5 | 6 |
|
6 | 7 | # Bootstrap a numpy installation before trying to import it.
|
|
72 | 73 | # requirements.append("mock")
|
73 | 74 | ext_modules = [ext1]
|
74 | 75 |
|
75 |
| - |
76 |
| -numpy.distutils.core.setup( |
| 76 | +setup( |
| 77 | + name='wrf-python', |
77 | 78 | author="Bill Ladwig",
|
78 |
| - author_email="ladwig@ucar.edu", |
| 79 | + maintainer="GeoCAT", |
| 80 | + maintainer_email="geocat@ucar.edu", |
79 | 81 | description="Diagnostic and interpolation routines for WRF-ARW data.",
|
80 | 82 | long_description=("A collection of diagnostic and interpolation "
|
81 | 83 | "routines to be used with WRF-ARW data.\n\n"
|
|
84 | 86 | "Documentation:\n\n"
|
85 | 87 | "http://wrf-python.rtfd.org\n"),
|
86 | 88 | url="https://github.com/NCAR/wrf-python",
|
| 89 | + version=__version__, |
| 90 | + package_dir={"": "src"}, |
87 | 91 | keywords=["python", "wrf-python", "wrf", "forecast", "model",
|
88 | 92 | "weather research and forecasting", "interpolation",
|
89 | 93 | "plotting", "plots", "meteorology", "nwp",
|
90 | 94 | "numerical weather prediction", "diagnostic",
|
91 | 95 | "science", "numpy"],
|
| 96 | + python_requires='>=3.7', |
92 | 97 | install_requires=requirements,
|
93 | 98 | classifiers=["Development Status :: 5 - Production/Stable",
|
94 | 99 | "Intended Audience :: Science/Research",
|
95 | 100 | "Intended Audience :: Developers",
|
96 | 101 | "License :: OSI Approved :: Apache Software License",
|
97 | 102 | "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", |
102 | 103 | "Programming Language :: Python :: 3.7",
|
| 104 | + 'Programming Language :: Python :: 3.8', |
| 105 | + 'Programming Language :: Python :: 3.9', |
103 | 106 | "Topic :: Scientific/Engineering :: Atmospheric Science",
|
104 | 107 | "Topic :: Software Development",
|
105 | 108 | "Operating System :: POSIX",
|
106 | 109 | "Operating System :: Unix",
|
107 | 110 | "Operating System :: MacOS",
|
108 | 111 | "Operating System :: Microsoft :: Windows"],
|
109 |
| - name="wrf-python", |
110 | 112 | platforms=["any"],
|
111 | 113 | license="Apache License 2.0",
|
112 | 114 | version=__version__,
|
|
117 | 119 | package_data={"wrf": ["data/psadilookup.dat"]},
|
118 | 120 | scripts=[]
|
119 | 121 | )
|
| 122 | + |
0 commit comments