-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·67 lines (57 loc) · 1.87 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
import os
import codecs
PACKAGENAME = 'padova'
DESCRIPTION = 'Helpers for using Padova isochrones.'
LONG_DESCRIPTION = ''
AUTHOR = 'Jonathan Sick'
AUTHOR_EMAIL = '[email protected]'
LICENSE = 'MIT'
URL = 'http://github.com/jonathansick/padova'
def read(filename):
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
return unicode(codecs.open(full_filename, encoding='utf-8').read())
long_description = '\n\n'.join([read('README.rst'),
read('CHANGES.rst')])
setup(
name=PACKAGENAME,
# Versions should comply with PEP440.
# (http://www.python.org/dev/peps/pep-0440)
version='0.1.3.dev0',
description=DESCRIPTION,
long_description=long_description,
url=URL,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
keywords='astronomy stellarpopulations',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=['requests',
'numpy',
'astropy',
'pytoml'],
tests_require=['pytest',
'pytest-pep8',
'pytest-cov'],
package_data={
'padova': ['data/settings/cmd_2_6.toml'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)