-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
53 lines (47 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
#!/usr/bin/env python
from distutils.core import setup
import satstress
# patch distutils if it can't cope with the "classifiers" or
# "download_url" keywords
from sys import version, exit
if version < satstress.__pythonrequiredversion__:
exit("""
ERROR: satstress requires Python %s or greater!
You are currently using Python %s
""" % (satstress.__pythonrequiredversion__, version,) )
setup(packages = ['satstress',],
package_dir = {'satstress': 'satstress'},
scripts = ['satstress/love/john_wahr/calcLoveWahr4Layer',],
package_data = {'satstress': ['input/*.satellite', 'input/*.grid',]},
name = satstress.__name__,
version = satstress.__version__,
description = satstress.__description__,
long_description = satstress.__long_description__,
license = satstress.__license__,
url = satstress.__projecturl__,
download_url = satstress.__downloadurl__,
author = satstress.__author__,
author_email = satstress.__contact__,
requires = [
"scipy",
"numpy",
"netCDF3",
],
obsoletes = [
"%s (<%s)" % (satstress.__name__, satstress.__version__),
],
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)