-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (31 loc) · 1.03 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
import re
from setuptools import setup
with open('votable_to_sql/__init__.py') as f:
metadata = dict(re.findall(r'__(.*)__ = [\']([^\']*)[\']', f.read()))
setup(
name=metadata['title'],
version=metadata['version'],
author=metadata['author'],
author_email=metadata['email'],
maintainer=metadata['author'],
maintainer_email=metadata['email'],
license=metadata['license'],
url='https://github.com/aipescience/votable2sql',
description=metadata['description'],
long_description=open('README.rst').read(),
install_requires=[
'astropy',
],
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering :: Astronomy'
],
entry_points={
'console_scripts': 'votable2sql=votable_to_sql:main'
},
packages=['votable_to_sql']
)