-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
44 lines (37 loc) · 1.28 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
"""Gridgen is a tool for creating curvilinear grids.
Requires:
NumPy (http://numpy.scipy.org)
matplotlib with the Basemap toolkit (http://matplotlib.sourceforge.net)
"""
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
csa = Extension(name = '_csa',
sources=["pygridgen/src/csa/csa.c",
"pygridgen/src/csa/svd.c"])
doclines = __doc__.split("\n")
if __name__ == '__main__':
from numpy.distutils.core import setup
setup(name = "pygridgen",
version = '0.1.0',
description = doclines[0],
long_description = "\n".join(doclines[2:]),
author = "Robert Hetland",
author_email = "[email protected]",
url = "http://pygridgen.googlecode.com/",
packages = ['pygridgen'],
license = 'BSD',
platforms = ["any"],
ext_package='pygridgen',
ext_modules = [csa],
classifiers = filter(None, classifiers.split("\n")),
)