-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
35 lines (31 loc) · 1.09 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
from setuptools import setup, find_packages
from distutils.util import convert_path
main_ns = {}
ver_path = convert_path('pyphot/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
def readme():
with open('README.rst') as f:
return f.read()
setup(name = "pyphot",
version = main_ns['__VERSION__'],
description = "A tool for computing photometry from spectra",
long_description = readme(),
author = "Morgan Fouesneau",
author_email = "",
url = "https://github.com/mfouesneau/pyphot",
packages = find_packages(),
package_data = {'pyphot':['libs/*'],
'pyphot.ezunits':['default_en.txt']},
include_package_data = True,
classifiers=[
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy'
],
zip_safe=False,
python_requires=">=3.6",
install_requires=["numpy", "scipy", "matplotlib","tables", "pandas", "astropy" ]
)