forked from djgagne/hagelslag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (41 loc) · 2.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import os
from setuptools import setup
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
requires = ["numpy", "matplotlib", "scipy", "xarray", "pandas", "scikit-image", "scikit-learn"]
if __name__ == "__main__":
pkg_description = "Hagelslag is a Python package for storm-based analysis, forecasting, and evaluation."
setup(name="hagelslag",
version="0.5",
description="Object-based severe weather forecast system",
author="David John Gagne",
author_email="[email protected]",
long_description=pkg_description,
license="MIT",
url="https://github.com/djgagne/hagelslag",
packages=["hagelslag", "hagelslag.data", "hagelslag.processing", "hagelslag.evaluation", "hagelslag.util"],
scripts=["bin/hsdata", "bin/hsforecast", "bin/hseval", "bin/hsfileoutput", "bin/hsplotter",
"bin/hsstation", "bin/hsncarpatch", "bin/hscalibration"],
data_files=[("mapfiles", ["mapfiles/ssef2013.map",
"mapfiles/ssef2014.map",
"mapfiles/ssef2015.map",
"mapfiles/ncar_grib_table.txt",
"mapfiles/hrrr_map_2016.txt",
"mapfiles/ncar_ensemble_map_2015.txt",
"mapfiles/ncar_2015_us_mask.nc",
"mapfiles/ssef_2015_us_mask.nc",
"mapfiles/ncar_storm_map_3km.txt",
"mapfiles/ncar_storm_us_mask_3km.nc"])],
keywords=["hail", "verification", "tracking", "weather", "meteorology", "machine learning"],
classifiers=classifiers,
include_package_data=True,
zip_safe=False,
install_requires=requires)