-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·42 lines (33 loc) · 1.17 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
import os
import subprocess
from setuptools import setup, find_packages
# try: from setuptools import setup
# except: from distutils.core import setup
path = os.path.dirname(os.path.realpath(__file__))
version_file = os.path.join(path, "actin2", "VERSION")
try:
with open(version_file, 'r') as file:
version = file.read()
except FileNotFoundError:
version = "unknown"
setup(name = 'actin2',
version = version,
description = 'Activity Indices Calculator',
url = 'http://github.com/gomesdasilva/ACTIN2',
#download_url = 'https://github.com/gomesdasilva/ACTIN/archive/v1.3.2.tar.gz',
author = 'Joao Gomes da Silva',
author_email = '[email protected]',
license = 'MIT',
keywords = ['astronomy', 'activity', 'fits', 'harps', 'harps-n', 'espresso', 'radial velocity', 'exoplanets', 'spirou'],
#packages = ['actin2'],
packages=find_packages(),
package_data={
'': ['spectrographs/*.py', 'test/*'],
},
#entry_points = {
# "console_scripts": ['actin = actin.actin:main']
# },
include_package_data = True,
install_requires = ['numpy', 'pandas', 'astropy', 'matplotlib', 'scipy'],
zip_safe=False
)