Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (110 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
119 lines (110 loc) · 2.98 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[build-system]
requires = [
"hatchling",
"hatch-vcs",
]
build-backend = "hatchling.build"
[project]
name = "pyfeyn2"
dynamic = ["version"]
description = 'PyFeyn is a package which makes drawing Feynman diagrams simple and programmatic. Feynman diagrams are important constructs in perturbative field theory, so being able to draw them in a programmatic fashion is important if attempting to enumerate a large number of diagram configurations is important. The output quality of PyFeyn diagrams (into PDF or EPS formats) is very high, and special effects can be obtained by using constructs from PyX, which PyFeyn is based around'
readme = "README.md"
requires-python = ">=3.8"
keywords = [
"HEP",
"feynman",
"diagram",
]
authors = [
{ name = "Alexander Puck Neuwirth", email = "alexander@neuwirth-informatik.de" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
]
dependencies = [
"feynml",
"pylatex",
"apn_dot2tex>=2.11.10",
"matplotlib",
"Wand",
"numpy",
"pyx", # Original pyfeyn
"pydot",
"feynman>=2.1",
"pylatexenc",
"pygments",
"graphviz",
"ipyparallel",
"iminuit",
"feynml[interfaces]>=0.3.1",
"asciidraw>=0.1.2",
]
[project.urls]
Documentation = "https://github.com/APN-Pucky/pyfeyn2#readme"
Issues = "https://github.com/APN-Pucky/pyfeyn2/issues"
Source = "https://github.com/APN-Pucky/pyfeyn2/"
[project.optional-dependencies]
lint = [
"ruff",
]
docs = [
"sphinx<8.0.0",
"sphinx-rtd-theme",
"sphinxcontrib-napoleon",
"nbsphinx",
"jupyter-sphinx",
"sphinx_autobuild",
"sphinx_math_dollar",
"myst-parser",
"tomli",
]
test = [
"pytest",
"pytest-cov",
]
dev = [
"pre-commit",
"ipython",
"jupyter",
"jupyterlab",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.envs.all]
features = [
"dev",
"docs",
"test",
]
[tool.hatch]
version.source = "vcs"
[tool.hatch.build]
hooks.vcs.version-file = "pyfeyn2/version.py"
exclude = [
"docs/",
"debug/",
]
[tool.hatch.scripts]
mkfeyndiag = "pyfeyn2.mkfeyndiag:main"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = [ "-Werror","-v","--doctest-modules","--ignore=docs/source/conf.py" ]
filterwarnings = [
'error',
'ignore: pkg_resources is deprecated as an API:DeprecationWarning',
"ignore:The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command:DeprecationWarning",
]