-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
66 lines (49 loc) · 1.37 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
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##########
#from setuptools import setup
#
#setup(
# entry_points = {
# 'console_scripts': ['npt=npt.cli:main'],
# }
#)
##########
import os
import sys
from setuptools import setup, find_packages
PACKAGE = 'eada'
URL = f"https://github.com/chbrandt/{PACKAGE}"
AUTHOR = "Carlos H. Brandt"
DESCRIPTION = "Look into astronomical objects in VO resources (scs/spectra)"
LONG_DESCRIPTION = """
Eada (External Archive Data Access) queries VO services for data based
on (RA,Dec) position and a radius around it.
The package uses PyVO and Astropy.
"""
LICENSE = 'GPL2'
from version import VERSION
## Treat everything in scripts except README.rst as a script to be installed
import glob
scripts = [fname for fname in glob.glob(os.path.join('scripts', '*'))]
## A dictionary to keep track of all package data to install
#import os
#package_data = {PACKAGENAME: [os.path.join('data','*')]}
setup(name=PACKAGE,
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4',
version=VERSION,
description=DESCRIPTION,
packages=find_packages(),
scripts=scripts,
install_requires=[
'astropy<4',
'pyvo==0.6.1',
'timeout_decorator',
'pyyaml'
],
zip_safe=False,
url=URL,
author=AUTHOR,
long_description=LONG_DESCRIPTION,
license=LICENSE
)