-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (55 loc) · 1.34 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
[tool.poetry]
name = "ptyx"
version = "28.2.0"
description = "pTyX is a python precompiler for LaTeX."
authors = ["Nicolas Pourcelot <nicolas.pourcelot@gmail.com>"]
repository = "https://github.com/wxgeo/ptyx"
license = "GPL-3.0-or-later"
readme = "README.md"
keywords = ["python", "tikz", "latex", "pdf", "exam", "mcq", "student"]
[tool.poetry.dependencies]
python = "^3.10"
numpy = "^1.23.0"
sympy = "^1.10.1"
psutil = "^5.9.4"
pymupdf = "^1.21.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
mypy = "^1.0.1"
black = "^22.1.0"
tox = "^4.14"
sphinx-autodoc-typehints = "^1.19.5"
sphinx-rtd-theme = "^1.0.0"
myst-parser = "^0.18.0"
# Version 7.29+ are buggy !
python-semantic-release = "7.28.1"
ruff = "^0.3.1"
[tool.poetry.scripts]
ptyx = 'ptyx.script:ptyx'
[tool.semantic_release]
version_variable = "pyproject.toml:version"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
ignore_missing_imports = true
implicit_optional = true
warn_unused_ignores = true
[tool.black]
line-length = 110
[tool.ruff]
line-length = 110
[tool.tox]
legacy_tox_ini = """
[tox]
skipsdist = true
isolated_build = True
envlist = py311
[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run ruff check ptyx tests
poetry run mypy ptyx tests
poetry run pytest tests ptyx/extensions
"""