-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpyproject.toml
128 lines (116 loc) · 2.66 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[project]
name = "romanisim"
description = "Nancy Grace Roman Space Telescope WFI Simulator"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "STScI", email = "[email protected]" },
]
classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"asdf >=3.3.0",
"astropy >=5.3",
"crds >=11.16.16",
"defusedxml >=0.5.0",
"galsim >=2.5.1",
"rad >=0.22.0",
"roman_datamodels >=0.22.0",
"gwcs >=0.19.0",
"jsonschema >=4.8",
"numpy >=1.22",
"webbpsf >=1.2.1",
"Cython >=0.29.21",
]
dynamic = [
"version",
]
[project.license]
file = "LICENSE"
[project.optional-dependencies]
docs = [
"sphinx <7",
"sphinx-automodapi",
"sphinx-rtd-theme",
"stsci-rtd-theme",
"sphinx-astropy",
"sphinx-asdf >=0.1.1",
"tomli; python_version <\"3.11\"",
]
test = [
"ci-watson >=0.3.0",
"pytest >=4.6.0, <=8.0",
"pytest-openfiles >=0.5.0",
"pytest-doctestplus >=0.10.0",
"pytest-cov >=2.9.0",
]
[project.urls]
Tracker = "https://github.com/spacetelescope/romanisim/issues"
Documentation = "https://romanisim.readthedocs.io/en/stable/"
"Source Code" = "https://github.com/spacetelescope/romanisim"
[build-system]
requires = [
"setuptools >=61",
"setuptools_scm[toml] >=3.4",
"wheel",
"Cython >=0.29.21",
"numpy >=2.0.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
exclude = [
"examples",
]
[tool.pytest.ini_options]
minversion = 4.6
norecursedirs = [
"docs/_build",
"docs/exts",
"scripts",
"build",
".tox",
]
doctest_plus = "enabled"
doctest_rst = "enabled"
markers = [
"soctests: run only the SOC tests in the suite.",
"bigdata: uses a lot of data.",
]
[tool.coverage.run]
omit = [
"romanisim/conftest.py",
"romanisim/setup.py",
"romanisim/tests/test*",
"docs/*",
"*/romanisim/conftest.py",
"*/romanisim/tests/test*",
"*/romanisim/regtest/test*",
"*/romanisim/*/tests/*",
"*/docs/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if self.debug:",
"except ImportError",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == \"__main__\":",
]
[tool.ruff.lint]
extend-ignore = [
"E501",
]
[tool.cibuildwheel.macos]
before-build = "brew install eigen fftw"