-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
36 lines (29 loc) · 984 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from numpy.distutils.core import setup, Extension
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
# Define the Fortran extension.
tmodtom = Extension("ktransit._tmodtom", ["ktransit/tmodtom.f"])
setup(
name="ktransit",
description='A simple exoplanet transit modeling tool in python.',
url="https://github.com/mrtommyb/ktransit",
version="0.2.5",
author="Tom Barclay",
author_email="tom@tombarclay.com",
packages=["ktransit", ],
package_dir={'ktransit':'ktransit'},
ext_modules=[tmodtom, ],
classifiers=[
# "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
)