-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
81 lines (71 loc) · 1.7 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
[project]
name = "snowblind"
authors = [
{name = "James Davies", email = "[email protected]"},
]
description = "Mask cosmic ray showers (snowballs) in JWST data"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"jwst",
"numpy",
"scikit-image>=0.20.0",
"stpipe",
]
dynamic = ['version']
[project.optional-dependencies]
docs = [
"sphinx",
"sphinx-automodapi",
"numpydoc",
]
test = [
"pytest",
"flake8",
"flake8-pyproject",
"codecov",
"pytest-cov",
]
cff = [
"cff-from-621",
]
[project.entry-points]
"stpipe.steps" ={snowblind = "snowblind:_get_steps"}
[project.urls]
Homepage = "https://github.com/mpi-astronomy/snowblind"
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm>=8",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/snowblind/_version.py"
[tool.cff-from-621]
order = ["cff-version", "message", "title", "abstract", "authors", "urls", "version", "date-released", "type", "keywords"]
[tool.cff-from-621.static]
message = "If you use this software, please cite as below."
license = "BSD-3-Clause"
authors = [
{"name" = "James Davies", "email" = "[email protected]", "orcid" = "https://orcid.org/0000-0002-5079-9098", "affiliation" = "Max Planck Institute for Astronomy"},
]
[tool.setuptools.dynamic]
version = {attr = "snowblind._version.version"}
[tool.flake8]
max-line-length = 130
exclude = [
'docs',
'.tox',
'.eggs',
'build',
'*_version.py',
]