-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
executable file
·136 lines (120 loc) · 3.41 KB
/
setup.cfg
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
[build_docs]
source-dir = docs
build-dir = docs/_build
all_files = 1
[upload_docs]
upload-dir = docs/_build/html
show-response = 1
[pycodestyle]
# E101 - mix of tabs and spaces
# W191 - use of tabs
# W291 - trailing whitespace
# W292 - no newline at end of file
# W293 - trailing whitespace
# W391 - blank line at end of file
# E111 - 4 spaces per indentation level
# E112 - 4 spaces per indentation level
# E113 - 4 spaces per indentation level
# E901 - SyntaxError or IndentationError
# E902 - IOError
select = E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902
exclude = extern,sphinx,*parsetab.py
[metadata]
# TODO: This no longer works with pypi because on pypi we are lco-banzai.
name = banzai
description = Python data reduction package for LCOGT data
long_description = This is a package to reduce LCOGT raw imaging data.
author = Curtis McCully
author_email = [email protected]
license = GPLv3
url = http://github.com/lcogt/banzai
edit_on_github = True
github_project = lcogt/banzai
[options]
zip_safe = False
packages = find:
install_requires =
astropy>=3.0
scipy
sqlalchemy>=1.3.0b1
logutils
numpy<1.24
cython
mysql-connector-python
lcogt_logging
photutils
bottleneck
kombu
amqp
requests
opensearch-py>=1,<2
pytest>=4.0
pyyaml
psycopg2-binary
celery[redis]>5,<6
apscheduler
python-dateutil
ocs_ingester>=3.0.4,<4.0.0
tenacity>=8,<=9
python-dateutil
emcee
scikit-image
cosmic-conn>=0.2.8
setup_requires = setuptools_scm
python_requires = >=3.7
[options.extras_require]
test =
pytest>=4.0
mock
coverage
pytest-astropy
docs =
sphinx-astropy
[options.package_data]
banzai.tests = data/*
[options.entry_points]
console_scripts =
banzai_reduce_individual_frame = banzai.main:reduce_single_frame
banzai_reduce_directory = banzai.main:reduce_directory
banzai_make_master_calibrations = banzai.main:make_master_calibrations
banzai_automate_stack_calibrations = banzai.main:start_stacking_scheduler
banzai_run_realtime_pipeline = banzai.main:run_realtime_pipeline
banzai_mark_frame_as_good = banzai.main:mark_frame_as_good
banzai_mark_frame_as_bad = banzai.main:mark_frame_as_bad
banzai_update_db = banzai.main:update_db
banzai_migrate_db = banzai.utils.db_migration:migrate_db
banzai_add_instrument = banzai.main:add_instrument
banzai_add_site = banzai.main:add_site
banzai_add_super_calibration = banzai.main:add_super_calibration
banzai_populate_bpms = banzai.main:add_bpms_from_archive
banzai_create_db = banzai.main:create_db
[coverage:run]
source = {packagename}
omit =
{packagename}/_astropy_init*
{packagename}/conftest*
{packagename}/cython_version*
{packagename}/setup_package*
{packagename}/*/setup_package*
{packagename}/*/*/setup_package*
{packagename}/tests/*
{packagename}/*/tests/*
{packagename}/*/*/tests/*
{packagename}/version*
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about packages we have installed
except ImportError
# Don't complain if tests don't hit assertions
raise AssertionError
raise NotImplementedError
# Don't complain about script hooks
def main\(.*\):
# Ignore branches that don't pertain to this version of Python
pragma: py{ignore_python_version}