-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
63 lines (51 loc) · 1.74 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
59
60
61
62
63
"""Octant is a suite of tools for working with ocean models.
Requires:
NumPy (http://numpy.scipy.org)
netCDF4 (http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/netCDF4.html)
Subpackages:
depths:
get_Vstretching_1, get_Vstretching_2, get_Vstretching_3, \
get_Vstretching_4, get_Vstretching, get_Vtransform_1, \
get_Vtransform_2, get_depths, get_sw, get_srho, get_s, \
get_zw, get_zrho, get_Hz
tools:
rot2d, nanmask, shrink, plfilt, hgrad
wvelocity:
omegaHz_velocity, w_velocity
seawater:
psu2reference_salinity, o2_saturation, rho_stp
"""
classifiers = """\
Development Status :: beta
Environment :: Console
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: MIT
Operating System :: OS Independent
Programming Language :: Python
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries :: Python Modules
"""
from numpy.distutils.core import Extension
iso = Extension(name = '_iso',
sources = ['octant/src/iso.f'])
# csa = Extension(name = '_csa',
# sources=["octant/src/csa/csa.c",
# "octant/src/csa/svd.c"])
doclines = __doc__.split("\n")
if __name__ == '__main__':
from numpy.distutils.core import setup
setup(name = "octant",
version = '0.1.0',
description = doclines[0],
long_description = "\n".join(doclines[2:]),
author = "Robert Hetland",
author_email = "[email protected]",
url = "http://octant.googlecode.com/",
packages = ['octant'],
license = 'BSD',
platforms = ["any"],
ext_package='octant',
ext_modules = [iso],
classifiers = filter(None, classifiers.split("\n")),
)