-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 1.41 KB
/
setup.py
File metadata and controls
36 lines (32 loc) · 1.41 KB
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
import glob
import sys
from setuptools import setup, find_packages, Extension
version = "0.13.0"
dependencies = ['astropy', 'pyerfa', 'numpy', 'requests']
sources = [x for x in glob.glob('orbfit/*.c')]
headers = [x for x in glob.glob('orbfit/*.h')]
setup(name='mp_ephem',
version=version,
url='http://github.com/OSSOS/liborbfit',
author='''JJ Kavelaars (jjk@uvic.ca), Michele Bannister (micheleb@uvic.ca)''',
maintainer='M Bannister and JJ Kavelaars',
maintainer_email='jjk@uvic.ca',
description="BK Orbfit",
long_description='See http://www.ossos-survey.org/ for science details.',
long_description_content_type='text/x-rst',
classifiers=['Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved :: GNU General Public License (GPL)',
],
scripts = ['scripts/minor_planet_ephemeris.py'],
package_data={'mp_ephem': ['data/*']},
install_requires=dependencies,
packages=find_packages(where='src'),
package_dir = {"": "src"},
headers = headers,
ext_modules=[Extension('mp_ephem.orbfit', sources,
extra_compile_args=['-Wno-unused-variable'],
)],
)