-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
61 lines (51 loc) · 1.86 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
52
53
54
55
56
57
58
59
60
61
# !usr/bin/env python
import sys
import os
import glob
from setuptools import setup
# Get some values from the setup.cfg
try:
from ConfigParser import ConfigParser
except ImportError:
from configparser import ConfigParser
conf = ConfigParser()
conf.read(['setup.cfg'])
#metadata = dict(conf.items('metadata'))
# MODIFY THE NAME OF THE PACKAGE to be the one chosen
NAME = 'IQMon'
VERSION = '2.0dev'
RELEASE = 'dev' not in VERSION
scripts = []
entry_points = {
'console_scripts': [
# Ingest Pipeline
"iqmon_ingest_monitor = iqmon.scripts.scripts:ingest_start_queue",
"iqmon_ingest_one = iqmon.scripts.scripts:ingest_one",
"iqmon_ingest_all = iqmon.scripts.scripts:ingest_all",
"iqmon_ingest_clear = iqmon.scripts.scripts:ingest_clear",
"iqmon_ingest_list = iqmon.scripts.scripts:ingest_list",
# Analysis Pipeline
"iqmon_analyze_monitor = iqmon.scripts.scripts:analyze_start_queue",
"iqmon_analyze_one = iqmon.scripts.scripts:analyze_one",
"iqmon_analyze_all = iqmon.scripts.scripts:analyze_all",
"iqmon_analyze_cd = iqmon.scripts.scripts:analyze_cd",
"iqmon_analyze_clear = iqmon.scripts.scripts:analyze_clear",
"iqmon_analyze_list = iqmon.scripts.scripts:analyze_list",
# Analysis Pipeline
"monitor_aag = iqmon.devices.aag:monitor_aag",
"monitor_weatherlink = iqmon.devices.weatherlink:monitor_davis_weather_link",
]
}
# modify the list of packages, to make sure that your package is defined correctly
setup(name=NAME,
provides=NAME,
version=VERSION,
license='BSD2',
description='Quick look imaging DRP.',
long_description=open('readme.md').read(),
author='Josh Walawender',
author_email='[email protected]',
packages=['iqmon',],
scripts=scripts,
entry_points=entry_points,
)