-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
94 lines (83 loc) · 2.13 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "pylhc/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/doc",
"/tests",
]
[tool.hatch.build.targets.wheel]
packages = ["pylhc"]
[project]
name = "pylhc"
readme = "README.md"
description = "An accelerator physics script collection for the OMC team at CERN."
authors = [
{name = "OMC Team", email = "pylhc@github.com"}, # see zenodo file / commits for details
]
license = "MIT"
dynamic = ["version"]
requires-python = ">=3.9"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"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 :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"numpy >= 1.24",
"scipy >= 1.10",
"pandas >= 2.1",
"matplotlib >= 3.8",
"tfs-pandas >= 3.8",
"generic-parser >= 1.1",
"parse >= 1.15",
"omc3 >= 0.15",
"jpype1 >= 1.3",
]
[project.optional-dependencies]
cern = [
"omc3[cern] >= 0.15",
"pjlsa >= 0.2",
"pytimber >= 3.0", # NXCALS support
"pyjapc",
]
test = [
"pytest>=7.0",
"pytest-cov>=2.9",
"pytest-mpl>=0.15",
]
doc = [
"sphinx >= 7.0",
"sphinx_rtd_theme >= 2.0",
]
all = [
"pylhc[cern]",
"pylhc[test]",
"pylhc[doc]",
]
[project.urls]
homepage = "https://github.com/pylhc/PyLHC"
repository = "https://github.com/pylhc/PyLHC"
documentation = "https://pylhc.github.io/PyLHC/"
changelog = "https://github.com/pylhc/PyLHC/blob/master/CHANGELOG.md"
# ----- Testing ----- #
[tool.pytest.ini_options]
markers = [
"cern_network: tests that require access to afs or the technical network",
]
# Helpful for pytest-debugging (leave commented out on commit):
# log_cli=true
# log_level=DEBUG