forked from kpedro88/pyfeyn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
105 lines (98 loc) · 2.78 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[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 = []
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",
"dot2tex",
"matplotlib",
"Wand",
"numpy",
"pyx", # Original pyfeyn
"pydot",
"feynman>=2.1",
"pylatexenc",
"pygments",
"graphviz",
"ipyparallel",
"iminuit",
"feynml[interfaces]>=0.2.24",
"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",
"toml",
]
test = [
"pytest",
"pytest-cov",
]
dev = [
"pre-commit",
"ipython",
"jupyter",
"jupyterlab",
]
[tool.hatch.envs.all]
features = [
"dev",
"docs",
"test",
]
[tool.hatch]
version.source = "vcs"
[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",
]