-
Notifications
You must be signed in to change notification settings - Fork 45
/
pyproject.toml
136 lines (123 loc) · 3.04 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
133
134
135
136
[build-system]
requires = [
"hatchling>=1.13.0",
"hatch-vcs>=0.3.0",
]
build-backend = "hatchling.build"
[project]
name = "madminer"
dynamic = ["version"]
description = "Mining gold from MadGraph to improve limit setting in particle physics"
readme = "README.md"
license = { text = "MIT" } # SPDX short identifier
requires-python = ">=3.8"
authors = [
{ name = "Johann Brehmer", email = "[email protected]" },
{ name = "Felix Kling" },
{ name = "Irina Espejo" },
{ name = "Sinclert Perez" },
{ name = "Kyle Cranmer", email = "[email protected]" },
]
maintainers = [ {name = "Matthew Feickert", email = "[email protected]"} ]
keywords = [
"physics",
"simulation based inference",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"h5py",
"matplotlib>=2.0.0",
"particle>=0.16.0",
"scipy>=1.0.0",
"sympy>=0.7.4",
"torch>=1.0.0",
"uproot>=4.0.0",
"vector>=0.8.4",
"numpy", # compatible versions controlled through scipy
]
[project.urls]
Documentation = "https://madminer.readthedocs.io/"
Homepage = "https://github.com/madminer-tool/madminer"
"Issue Tracker" = "https://github.com/madminer-tool/madminer/issues"
"Releases" = "https://github.com/madminer-tool/madminer/releases"
"Source Code" = "https://github.com/madminer-tool/madminer"
[project.optional-dependencies]
examples = [
"bqplot",
"pandas",
]
# Developer extras
lint = [
"black[jupyter]",
"isort",
]
test = [
"pytest>=6.0",
]
docs = [
"myst-parser",
"numpydoc",
"sphinx>=7.0.0",
"sphinx-rtd-theme>=1.3.0",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.hooks.vcs]
version-file = "madminer/_version.py"
[tool.hatch.build.targets.sdist]
# hatchling always includes:
# pyproject.toml, .gitignore, any README, any LICENSE, AUTHORS
only-include = [
"/madminer",
"/CITATION.cff"
]
[tool.hatch.build.targets.wheel]
packages = ["madminer"]
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310']
include = '(\.pyi?$|\.ipynb$)'
exclude = '''
(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.nox
| \.venv
| build
| dist
)
'''
[tool.isort]
force_single_line = true
ignore_whitespace = true
only_sections = true
profile = "black"
[tool.coverage.run]
source = ["madminer"]
branch = true
omit = ["*/madminer/typing.py"]
[tool.coverage.report]
precision = 1
sort = "cover"
show_missing = true
exclude_also = [
"if TYPE_CHECKING:"
]