-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
84 lines (74 loc) · 2 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=60", "setuptools_scm[toml]>=8.0"]
[project]
name = "pytao"
description = "PyTao is the Python interface for Bmad's Tao"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.9"
dependencies = []
dynamic = ["version"]
keywords = []
authors = [
{ name = "David Sagan" },
{ name = "Christopher Mayes" },
{ name = "Hugo Slepicka" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
[project.scripts]
pytao = "pytao.__main__:main"
pytao-gui = "pytao.gui.__main__:main"
[project.optional-dependencies]
# Currently it's expected that users install via conda;
# however, a pip-based installation should work as well.
# `pip install .[all]`
all = [
"h5py",
"numpy",
"pexpect",
"matplotlib",
"openpmd-beamphysics",
"pydantic>=2",
]
[project.urls]
Homepage = "https://www.classe.cornell.edu/bmad/tao.html"
Documentation = "https://bmad-sim.github.io/pytao/"
Repository = "https://github.com/bmad-sim/pytao"
Issues = "https://github.com/bmad-sim/pytao/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["pytao*"]
namespaces = false
[project.license]
file = "LICENSE"
[tool.ruff]
extend-include = ["*.ipynb", "_version.py", "versioneer.py"]
line-length = 95
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
# select = [
# # Pycodestyle E errors: https://pycodestyle.pycqa.org/en/latest/intro.html
# "E4",
# "E7",
# "E9",
# # pyflakes F error codes:
# # https://flake8.pycqa.org/en/latest/user/error-codes.html
# "F",
# ]
ignore = []
[tool.pytest.ini_options]
addopts = "--cov=pytao/"
log_cli_level = "info"
log_level = "debug"
testpaths = ["pytao/tests"]
[tool.setuptools_scm]
version_file = "pytao/_version.py"