forked from tomlouden/SPIDERMAN
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
27 lines (25 loc) · 1.16 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
from distutils.core import setup, Extension
import numpy.distutils.misc_util
import numpy as np
_web = Extension("spiderman._web",["c_src/_web.c","c_src/heron.c","c_src/segment.c","c_src/areas.c","c_src/intersection.c","c_src/generate.c","c_src/blocked.c","c_src/util.c","c_src/pyutil.c","c_src/web.c","c_src/orthographic.c","c_src/ephemeris.c","c_src/blackbody.c","c_src/spline.c","c_src/brightness_maps.c","c_src/legendre_polynomial.c","c_src/bicubic.c","c_src/nrutil.c"
], extra_compile_args = ["-std=c99"])
setup( name='spiderman-package',
version="0.9.3",
author='Tom Louden',
author_email = '[email protected]',
url = 'https://github.com/tomlouden/spiderman',
download_url = 'https://github.com/tomlouden/spiderman/tarball/0.9.2',
packages =['spiderman'],
license = ['GNU GPLv3'],
description ='Fast secondary eclipse and phase curve modeling',
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Programming Language :: Python'
],
include_dirs = [np.get_include()],
install_requires = ['numpy'],
ext_modules=[_web],
package_data = {'spiderman': ['art/*','test_data/*']},
)