-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (27 loc) · 972 Bytes
/
setup.py
File metadata and controls
31 lines (27 loc) · 972 Bytes
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
import shlex
from subprocess import check_output
from distutils.core import setup
git_head_rev = check_output(
shlex.split('git rev-parse --short HEAD')).strip()
with open('./gireds/.version', 'r') as verfile:
__version__ = verfile.read().strip('\n')
packdata = {}
packdata['gireds'] = ['example.cfg', '.version', 'data/*']
setup(name='gireds',
version=__version__,
packages=['gireds',
'gireds.utils',
'gireds.pipeline'],
scripts=['bin/gireds',
'bin/gemini_archive',
'bin/make_bpm',
'bin/auto_apertures',
],
author='Daniel Ruschel Dutra',
author_email='druscheld@gmail.com',
url='https://git.cta.if.ufrgs.br/ruschel/gireds',
package_data=packdata,
options=dict(egg_info=dict(tag_build=str('dev_') + str(git_head_rev))),
platform='Linux',
license='GPLv3',
description='Program to reduce GMOS IFU data.')