-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (139 loc) · 3.99 KB
/
pyproject.toml
File metadata and controls
154 lines (139 loc) · 3.99 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[project]
name = "lcviz"
description = "A Jdaviz-based light curve analysis and visualization tool"
requires-python = ">=3.11"
authors = [
{ name = "JDADF Developers", email = "kconroy@stsci.edu" },
]
keywords = [
"astronomy",
"astrophysics",
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"astropy>=5.2",
# NOTE: if/when we stop pinning a minor version of jdaviz, add jdaviz
# to devdeps in tox.ini
"jdaviz>=4.5,<4.6",
"lightkurve>=2.5.1",
# NOTE: glue-jupyter is also pinned by jdaviz.
"glue-jupyter>=0.22.2",
]
dynamic = [
"version",
]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.license]
file = "LICENSE.rst"
content-type = "text/plain"
[project.urls]
Homepage = "https://github.com/spacetelescope/lcviz"
[project.optional-dependencies]
test = [
"pytest",
"pytest-astropy",
"pytest-tornasync",
]
docs = [
"sphinx-astropy[confv2]>=1.9.1",
"sphinx_design",
"sphinx-togglebutton"
]
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
zip-safe = false
include-package-data = true
license-files = [
"LICENSE.rst",
]
[tool.setuptools.packages.find]
namespaces = false
[tool.setuptools.package-data]
lcviz = [
"data/*",
"*.vue",
"plugins/*/*.vue",
]
[tool.setuptools_scm]
write_to = "lcviz/version.py"
[tool.pytest.ini_options]
minversion = "5.0"
norecursedirs = [
"build",
"docs/_build",
]
testpaths = [
"\"lcviz\"",
"\"docs\"",
]
astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--doctest-rst --import-mode=append"
filterwarnings = [
"error",
"ignore:numpy\\.ndarray size changed:RuntimeWarning",
"ignore:zmq\\.eventloop\\.ioloop is deprecated in pyzmq:DeprecationWarning",
"ignore:((.|\n)*)Sentinel is not a public part of the traitlets API((.|\n)*)",
"ignore:datetime\\.datetime\\.utcfromtimestamp:DeprecationWarning",
"ignore::DeprecationWarning:glue",
"ignore::DeprecationWarning:bqplot",
"ignore::DeprecationWarning:bqplot_image_gl",
"ignore::DeprecationWarning:bqscales",
"ignore::DeprecationWarning:ipykernel",
"ignore::DeprecationWarning:traittypes",
"ignore::DeprecationWarning:voila",
"ignore::UserWarning:traittypes",
"ignore::DeprecationWarning:asteval",
"ignore::FutureWarning:asteval",
"ignore::DeprecationWarning:traitlets", # remove once https://github.com/spacetelescope/jdaviz/pull/3768 is merged upstream
"ignore:The load_data function is deprecated.*",
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:mpl_scatter_density",
# this will be unnecessary after jdaviz merges and releases:
# https://github.com/spacetelescope/jdaviz/pull/3683
"ignore:.*The TestRunner class will be deprecated in a future version.*",
"ignore:.*The TestRunnerBase class will be deprecated in a future version.*",
# this suppresses a warning from lightkurve that reads: "UserWarning: Warning: the tpfmodel
# submodule is not available without oktopus installed, which requires a current version of
# autograd. See #1452 for details."
"ignore::UserWarning:lightkurve",
]
[tool.coverage.run]
source = [
"lcviz",
]
omit = [
"lcviz/tests/*",
"lcviz/version*",
"*/lcviz/tests/*",
"*/lcviz/version*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"raise AssertionError",
"raise NotImplementedError",
"def main\\(.*\\):",
"pragma: py{ignore_python_version}",
"def _ipython_key_completions_",
]
[tool.build_sphinx]
edit_on_github = true
github_project = "spacetelescope/lcviz"