-
Notifications
You must be signed in to change notification settings - Fork 56
/
pyproject.toml
132 lines (118 loc) · 2.68 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
129
130
131
132
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=7",
]
build-backend = "setuptools.build_meta"
[project]
name = "pygama"
description = "Python package for data processing and analysis"
authors = [
{ name = "The LEGEND collaboration" },
]
maintainers = [
{ name = "The LEGEND collaboration" },
]
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.9"
dependencies = [
"hist",
"colorlog",
"dspeed>=1.3",
"h5py>=3.2",
"iminuit",
"legend-daq2lh5>=1.2.1",
"legend-pydataobj>=1.7",
"pylegendmeta>=0.9",
"matplotlib",
"numba!=0.53.*,!=0.54.*,!=0.57",
"numpy>=1.21",
"pandas>=1.4.4",
"pint",
"pyyaml",
"scikit-learn",
"scipy>=1.0.1",
"tables",
"tqdm>=4.66",
]
dynamic = [
"version",
]
[project.urls]
Homepage = "https://github.com/legend-exp/pygama"
"Bug Tracker" = "https://github.com/legend-exp/pygama/issues"
Discussions = "https://github.com/legend-exp/pygama/discussions"
Changelog = "https://github.com/legend-exp/pygama/releases"
[tool.setuptools_scm]
write_to = "src/pygama/_version.py"
[project.optional-dependencies]
all = [
"pygama[docs,test]",
]
docs = [
"furo",
"jupyter",
"myst-parser",
"nbsphinx",
"sphinx",
"sphinx-copybutton",
"sphinx-inline-tabs",
]
test = [
"pre-commit",
"pylegendtestdata",
"pytest>=6.0",
"pytest-cov",
]
[project.scripts]
pygama = "pygama.cli:pygama_cli"
[tool.setuptools]
include-package-data = true
zip-safe = false
license-files = [
"LICENSE",
]
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools.packages.find]
where = [
"src",
]
namespaces = false
[tool.setuptools.package-data]
"*" = [
"*.json",
]
[tool.coverage]
run.source = ["pygama"]
report.exclude_also = [
'\.\.\.',
'if typing.TYPE_CHECKING:',
]
[tool.flake8]
extend-ignore = "E203, E501"
[tool.codespell]
ignore-words-list = "hist, gaus, nd, ans, crate, nin, puls, spms, fom, FOM"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error", 'ignore:\nPyarrow:DeprecationWarning']
log_cli_level = "info"
testpaths = "tests"
[tool.isort]
profile = "black"
multi_line_output = 3