forked from jolideco/jolideco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
112 lines (96 loc) · 2.16 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=3.4",
"wheel",
]
build-backend = 'setuptools.build_meta'
[project]
name = "jolideco"
description = "A Python package for Poisson joint likelihood deconvolution"
requires-python = ">=3.9"
dependencies = [
"torch>1.13",
"numpy>=1.26",
"astropy>=5.2",
"tqdm",
"click",
"matplotlib",
]
dynamic = [ "version",]
[[project.authors]]
name = "Axel Donath"
email = "[email protected]"
[project.license]
text = "BSD 3-Clause"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.urls]
homepage = "https://github.com/jolideco/jolideco"
[project.optional-dependencies]
all = [
"scikit-learn",
"scikit-image",
"asdf",
"asdf-astropy",
"ruamel.yaml",
"ruamel.yaml.string",
"scipy",
]
test = [
"pytest",
"pytest-doctestplus",
]
docs = [
"pydata-sphinx-theme",
"sphinx-automodapi",
"sphinx-design",
"sphinx-gallery",
"sphinxcontrib-bibtex",
"sympy",
"scipy",
]
[project.scripts]
jolideco = "jolideco.cli:cli"
[tool.setuptools]
zip-safe = false
license-files = [ "licenses/LICENSE.rst",]
include-package-data = false
[tool.setuptools.package-data]
jolideco = [ "data/*",]
[tool.pytest.ini_options]
testpaths = [ "\"jolideco\"", "\"docs\"",]
astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--doctest-rst --ignore-glob='docs/user/tutorials/*.py'"
[tool.coverage.run]
omit = [
"jolideco/_astropy_init*",
"jolideco/conftest.py",
"jolideco/*setup_package*",
"jolideco/tests/*",
"jolideco/*/tests/*",
"jolideco/extern/*",
"jolideco/version*",
"*/jolideco/_astropy_init*",
"*/jolideco/conftest.py",
"*/jolideco/*setup_package*",
"*/jolideco/tests/*",
"*/jolideco/*/tests/*",
"*/jolideco/extern/*",
"*/jolideco/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.setuptools.packages.find]
namespaces = false