/
setup.py
35 lines (29 loc) · 855 Bytes
/
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
from setuptools import setup
import os
import glob
def get_scripts():
""" Grab all the scripts in the bin directory. """
scripts = []
if os.path.isdir('bin'):
scripts = [fname for fname in glob.glob(os.path.join('bin', '*'))
if not os.path.basename(fname).endswith('.rst')]
return scripts
scripts = get_scripts()
setup(name='vetrr',
version='0.1.8',
description='vet redrock outputs',
url='http://github.com/mattcwilde/vetrr',
author='Matthew Wilde',
author_email='mattcwilde@gmail.com',
license='MIT',
packages=['vetrr'],
scripts=scripts,
dependency_links=['https://github.com/linetools/linetools'],
install_requires=[
'matplotlib',
'pyYAML',
'astropy',
'future',
'numpy'
],
zip_safe=True)