-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
45 lines (38 loc) · 1.12 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
[build-system]
requires = ["setuptools", "setuptools-rust"]
build-backend = "setuptools.build_meta"
[project]
name = "danton"
authors = [
{name = "Valentin Niess", email = "valentin.niess@gmail.com"}
]
description = "DecAyiNg Taus frOm Neutrinos (Danton)."
readme = "README.md"
license = {text = "LGPLv3"}
keywords = ["neutrino", "tau", "Monte Carlo", "backward"]
classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics"
]
version = "1.5.8"
requires-python = ">=3.7.0"
dependencies = [
"numpy >= 1.6.0",
"tomli; python_version < '3.11'"
]
[project.scripts]
danton = "danton.__main__:danton"
[project.urls]
source = "https://github.com/niess/danton"
[tool.setuptools.packages.find]
where = ["src/python"]
[[tool.setuptools-rust.ext-modules]]
target = "danton.danton"
# Build options for Python wheels.
[tool.cibuildwheel.linux]
before-all = "curl -sSf https://sh.rustup.rs -o rustup.sh ; sh rustup.sh -y"
build = "cp37-manylinux_x86_64"
environment = "PATH=$HOME/.cargo/bin:$PATH"
manylinux-x86_64-image = "manylinux2014"
[tool.cibuildwheel.macos]
build = "cp37-macosx_x86_64"