-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (67 loc) · 2.02 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
[project]
name = "model"
description = "Simple accelerator lattice model with composable derivatives in pytorch"
readme = "README.MD"
requires-python = ">=3.12"
keywords = ["torch", "orbit", "twiss", "differentiable", "accelerator"]
authors = [{name = "Ivan Morozov"}]
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"pyyaml>=6.0.1",
"pandas>=2.2.0",
"numpy>=1.26.3",
"torch>=2.4.0",
"multimethod>=1.11",
"twiss@git+https://github.com/i-a-morozov/twiss#egg=main",
"ndmap@git+https://github.com/i-a-morozov/ndmap#egg=main"
]
dynamic = ["version"]
[project.urls]
documentation = "https://i-a-morozov.github.io/model/"
repository = "https://github.com/i-a-morozov/model"
[build-system]
requires = ["setuptools", "setuptools-scm[toml]", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["model"]
[tool.setuptools.package-data]
model = ["py.typed", "*.pyi"]
[tool.setuptools.dynamic]
version = {attr = "model.__version__"}
[project.optional-dependencies]
test = ["mypy", "pylint", "pytest", "pytest-cov", "numpy"]
docs = ["pandoc", "sphinx-rtd-theme", "ipykernel", "nbsphinx", "multimethod"]
build = ["build", "setuptools", "twine"]
examples = ["jupyterlab", "pandas", "matplotlib"]
all = ["model[test, docs, build, examples]"]
[tool.pylint.'MESSAGES CONTROL']
disable=[
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
"function-redefined",
"no-value-for-parameter",
"no-member",
"redefined-builtin",
"unused-argument",
"invalid-name",
"too-many-locals",
"redefined-outer-name",
"not-callable"
]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning"
]