Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (77 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (77 loc) · 2.3 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "trxasviewer"
dynamic = ["version"]
description = "A python GUI for visualizing Time Resolved X-ray Absorption Spectroscopy datasets"
readme = "README.rst"
authors = [{ name = "Miaoqi Chu", email = "mqichu@anl.gov" }]
maintainers = [{ name = "Miaoqi Chu", email = "mqichu@anl.gov" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Natural Language :: English",
]
license = { text = "Apache-2.0" }
keywords = [
"X-ray absorption",
"spectroscopy",
"time-resolved",
"synchrotron",
"visualization",
"science",
]
dependencies = [
"numpy",
"pyqtgraph",
"matplotlib",
"scipy",
"h5py",
"pandas",
"PySide6",
"psutil",
"graphviz", # install graphviz binary first
]
[project.scripts]
trxasviewer = "trxasviewer.cli:main"
[project.optional-dependencies]
dev = ["coverage", "pytest", "pytest-cov", "mypy", "ruff", "twine", "pytest-qt", "Pillow", "PyYAML"]
docs = ["sphinx", "sphinx-rtd-theme"]
pyinstaller = ["pyinstaller>=6.21"]
[project.urls]
bugs = "https://github.com/AdvancedPhotonSource/trxasviewer/issues"
homepage = "https://github.com/AdvancedPhotonSource/trxasviewer"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "node-and-timestamp"
[tool.setuptools.package-data]
"*" = ["*.*"]
# Ruff
[tool.ruff]
line-length = 120
target-version = "py310"
exclude = ["**/generated_ui.py", "**/generated_modeling_ui.py"]
# Mypy
[tool.mypy]
files = "."
strict = true
warn_unreachable = true
warn_no_return = true
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
disable_error_code = "attr-defined"