-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
85 lines (74 loc) · 2.57 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
[build-system]
requires = ["setuptools>=64", "Cython", "numpy>=1.25", 'setuptools_scm[toml]>=8']
build-backend = "setuptools.build_meta"
[project]
name = "eventio"
description = "Python read-only implementation of the EventIO file format"
requires-python = '>=3.10'
dependencies = [
'numpy >= 1.21',
'corsikaio >= 0.3.3,<0.6.0',
'zstandard > 0.11.1', # memory leak in zstandard 0.11.1
]
authors = [
{name = "Maximilian Linhoff", email = "[email protected]"},
{name = "Dominik Neise", email = "[email protected]"},
{name = "Orel Gueta", email = "[email protected]"},
]
license = {text = "MIT"}
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
]
dev = [
"setuptools_scm",
]
all = [
"eventio[test,dev]"
]
[project.urls]
repository = "https://github.com/cta-observatory/pyeventio"
issues = "https://github.com/cta-observatory/pyeventio/issues"
conda-forge = "https://anaconda.org/conda-forge/eventio"
[project.scripts]
eventio_print_structure = 'eventio.scripts.print_structure:main'
eventio_print_simtel_history = 'eventio.scripts.print_simtel_history:main'
eventio_print_simtel_metaparams = 'eventio.scripts.print_simtel_metaparams:main'
eventio_plot_histograms = 'eventio.scripts.plot_hists:main'
eventio_print_object_information = 'eventio.scripts.print_object_information:main'
eventio_cut_file = 'eventio.scripts.cut_eventio_file:main'
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["eventio._dev_version"]
[tool.setuptools_scm]
version_file = "src/eventio/_version.py"
[tool.pytest.ini_options]
minversion = "7"
testpaths = ["tests"]
log_cli_level = "INFO"
xfail_strict = true
# print summary of failed tests, force errors if settings are misspelled
addopts = ["-ra", "--strict-config", "--strict-markers", "-v", "--durations=10"]
filterwarnings = [
"error",
"ignore:File seems to be truncated:UserWarning",
"ignore:Version unknown:UserWarning", # pycorsikaio
]