forked from SaOgaz/stak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·51 lines (40 loc) · 1.24 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
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import glob
import os
import sys
from setuptools import setup, find_packages
PACKAGENAME = 'stak'
DESCRIPTION = 'STAK (the STScI Analysis Toolkit) is a general purpose library \
to provide computational resources for astronomical data reduction \
and analysis.'
AUTHOR = 'Sara Ogaz, Justin Ely'
AUTHOR_EMAIL = 'ogaz@stsci.edu'
LICENSE = 'BSD'
URL = 'http://github.com/spacetelescope/stak'
VERSION = '0.1.0'
# Indicates if this version is a release version
RELEASE = 'dev' not in VERSION
with open(os.path.join(PACKAGENAME, 'version.py'), 'w+') as fp:
fp.write('__all__ = [\'__version__\', \'RELEASE\']\n')
fp.write('__version__ = \'{0}\'\nRELEASE = {1}\n'.format(VERSION, RELEASE))
entry_points = {
'console_scripts': ['stak_nbget = stak.nbget:main']
}
setup(name=PACKAGENAME,
version=VERSION,
description=DESCRIPTION,
install_requires=[
'astropy',
'six',
'numpy',
'stsci.tools',
'pyparsing'
],
packages=find_packages(),
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
url=URL,
entry_points=entry_points,
)