-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
58 lines (51 loc) · 1.88 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
48
49
50
51
52
53
54
55
56
57
58
"""Meteorology utilities, SkewT plotting and more
This package contains some general meteorological routines
and some specific routines to work with CM1 and WRF. The general
routines include generation of Skew-T/Log-P plotting. The CM1
routines include generation of input soundings for CM1 and
classes for reading CM1 output files in grads and HDF5 format.
"""
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
import os
import subprocess
#from distutils.core import setup
from setuptools import setup
def readme():
with open('README.md') as f:
return f.read()
doclines = __doc__.split("\n")
version_py = os.path.join(os.path.dirname(__file__), 'VERSION')
with open(version_py, 'r') as fh:
version_git = open(version_py).read().strip()
setup(name='pymeteo',
version='{ver}'.format(ver=version_git),
description=doclines[0],
long_description="\n".join(doclines[2:]),
url='https://wxster.com/projects/pymeteo',
maintainer="Casey Webster",
maintainer_email="[email protected]",
author='Casey Webster',
author_email='[email protected]',
license='BSD 3-clause',
platforms= ["any"],
packages=['pymeteo','pymeteo.cm1',
'pymeteo.cm1.hodographs',
'pymeteo.cm1.soundings',
'pymeteo.UI', 'pymeteo.data'],
scripts=['bin/cm1_geninit',
'bin/plot-acars',
'bin/skewt',
'bin/skewt-hdf',
'bin/skewt-blank',
'bin/skewt-wrf'],
package_data={'pymeteo.data': ['airport_info.dat']},
classifiers=classifiers
)