-
Notifications
You must be signed in to change notification settings - Fork 33
/
pyproject.toml
87 lines (78 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
[build-system]
requires = [
"setuptools >= 64",
"setuptools_scm >= 7",
"oldest-supported-numpy; python_version <= '3.8'",
"numpy >= 2.0; python_version >= '3.9'",
"wheel",
]
# build-backend = "setuptools.build_meta"
# in-tree backend because of MPI requirement
build-backend = "backend"
backend-path = ["_custom_build"]
[project]
name = "accelerator-toolbox"
authors = [{ name = "The AT collaboration", email = "[email protected]" }]
description = "Accelerator Toolbox"
readme = "pyat/README.rst"
license = { file = "LICENSE.txt" }
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering :: Physics",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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 :: 3.13",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
]
requires-python = ">=3.7"
dependencies = [
"importlib-resources;python_version<'3.9'",
"numpy >=1.16.6, <2.0; python_version <= '3.8'",
"numpy >= 1.23.5; python_version >= '3.9'",
"scipy>=1.4.0"
]
[project.urls]
Home = "https://github.com/atcollab/at"
Github = "https://github.com/atcollab/at.git"
Issues = "https://github.com/atcollab/at/issues"
ChangeLog = "https://github.com/atcollab/at/releases"
[project.optional-dependencies]
mpi = ["mpi4py"]
plot = ["matplotlib"]
dev = ["pytest >= 2.9", "pytest-cov", "flake8"]
doc = ["Sphinx ~= 8.1", "myst-parser", "myst-nb", "pydata-sphinx-theme",
"sphinx_design", "sphinx-copybutton"]
[tool.setuptools]
zip-safe = false
include-package-data = false
[tool.setuptools.packages.find]
where = ["pyat"]
namespaces = false
[tool.setuptools.package-data]
machine_data = ["*.m", "*.mat"]
[tool.cibuildwheel]
# Pypy does not have Scipy so we cannot support it.
build = ["cp3{7,8,9,10,11,12,13}*"]
# build = ["cp312-*"] # Only cp312 for test
# Skip 32-bit builds
skip = ["*-win32", "*_i686"]
build-verbosity = "1"
# "build" frontend fails on windows
# build-frontend = "build"
#[tool.cibuildwheel.linux]
## Pass the detected PyAT version to the linux docker containers
#environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
[tool.setuptools_scm]
write_to = "pyat/at/_version.py"
git_describe_command = "git describe --dirty --tags --long --match pyat-[0-9]*"
fallback_version = "0.0.0"