-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
49 lines (45 loc) · 1.64 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
#!/usr/bin/env python
from setuptools import setup
# PyPi requires reStructuredText instead of Markdown,
# so we convert our Markdown README for the long description
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = open('README.md').read()
# Command-line tools
entry_points = {'console_scripts': [
'kpub = kpub:kpub',
'kpub-update = kpub:kpub_update',
'kpub-add = kpub:kpub_add',
'kpub-delete = kpub:kpub_delete',
'kpub-import = kpub:kpub_import',
'kpub-export = kpub:kpub_export',
'kpub-plot = kpub:kpub_plot',
'kpub-spreadsheet = kpub:kpub_spreadsheet'
]}
setup(name='kpub',
version='1.2.0dev',
description="A simple tool to keep track of the publications related "
"to NASA's Kepler/K2 mission.",
long_description=long_description,
author='Geert Barentsen',
author_email='hello@geert.io',
license='MIT',
url='http://barentsen.github.io/kpub',
packages=['kpub'],
data_files=[('kpub/templates', ['kpub/templates/template.md', 'kpub/templates/template-overview.md'])],
install_requires=["jinja2",
"six",
"astropy",
"ads"],
entry_points=entry_points,
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
],
)