-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (66 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
77 lines (66 loc) · 1.91 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "pysimplemask"
dynamic = ["version"]
description = "A GUI for creating mask and q-partition maps for scattering patterns in preparation for SAXS/WAXS/XPCS data reduction"
readme = "README.md"
authors = [{ name = "Miaoqi Chu", email = "mqichu@anl.gov" }]
maintainers = [{ name = "Miaoqi Chu", email = "mqichu@anl.gov" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Visualization",
"Operating System :: OS Independent",
]
dependencies = [
"numpy",
"scipy",
"h5py",
"hdf5plugin",
"scikit-image",
"matplotlib",
"pyqtgraph",
"PySide6==6.8.3",
"astropy",
"imagecodecs",
"tifffile",
]
[project.optional-dependencies]
dev = [
"coverage", # Testing
"mypy", # Type checking
"pytest", # Testing
"ruff", # Linting
]
[project.scripts]
pysimplemask = "pysimplemask.cli:main"
pysimplemask-combine-qmaps = "pysimplemask.cli:combine_qmaps"
[project.urls]
bugs = "https://github.com/AdvancedPhotonSource/pySimpleMask/issues"
changelog = "https://github.com/AdvancedPhotonSource/pySimpleMask/blob/master/changelog.md"
homepage = "https://github.com/AdvancedPhotonSource/pySimpleMask"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "no-local-version"
[tool.setuptools.package-data]
"*" = ["*.*"]
"pysimplemask.resources" = ["*.svg"]
# ---- Mypy ----
[tool.mypy]
files = "."
strict = true
warn_unreachable = true
warn_no_return = true
[[tool.mypy.overrides]]
# Don't require test functions to include types
module = "tests.*"
allow_untyped_defs = true
disable_error_code = "attr-defined"