forked from kialio/LATAnalysisScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (41 loc) · 1.27 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
#!/usr/bin/evn python
import sys
import os
from distutils.core import setup
#try:
# import ds9
#except ImportError:
# print "pyds9 not found (required for making plots with quickPlot)."
# sys.exit(1)
#else:
# print "pyds9 found."
#try:
# import make2FGLxml
#except ImportError:
# print "make2FGLxml not found (required for making an XML model)."
# sys.exit(1)
#else:
# print "make2FGLxml found."
fermi_dir = os.environ.get("FERMI_DIR")
if fermi_dir:
print "The Fermi Science tools seem to be set up."
else:
print "The Fermi Science tools are not set up."
sys.exit()
setup(name='LATAnalysisScripts',
version='0.2.0',
description='Fermi LAT Analysis Scripts (quickScripts)',
author='Jeremy S. Perkins and Davide Donato (FSSC)',
author_email='[email protected]',
url='http://fermi.gsfc.nasa.gov/ssc/',
py_modules=['quickUtils',
'quickAnalysis',
'quickLike',
'quickPlot',
'quickCurve',
'make2FGLxml'],
data_files=[(fermi_dir+"/bin",['scripts/quickAnalysis',
'scripts/quickLike',
'scripts/quickPlot',
'scripts/quickCurve'])],
)