-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 1.33 KB
/
setup.py
File metadata and controls
39 lines (36 loc) · 1.33 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
37
38
39
"""Configure snclass instalation."""
from setuptools import setup
import snclass
def readme():
"""Return README.md file."""
with open('README.md') as my_doc:
return my_doc.read()
setup(name='snclass',
version=snclass.__version__,
description='Python SN photometric classifier',
long_description=readme(),
url='https://github.com/emilleishida/snclass',
author=snclass.__author__,
author_email=snclass.__email__,
license='GPL3',
packages=['snclass'],
install_requires=[
'numpy>=1.8.2',
'matplotlib>=1.3.1',
'gptools>=0.1',
'scikit-learn>=0.17'
],
scripts=['snclass/bin/fit_plot_lc.py',
'snclass/bin/build_synthetic_spec.py'],
package_dir={'snclass': 'snclass', 'examples':'snclass/examples',
'ishida2015':'snclass/ishida2015'},
zip_safe=False,
classifiers=[
'Programming Language :: Python',
'Natural Language :: English',
'Environment :: X11 Applications',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Astronomy',
])