File: pyproject.toml

package info (click to toggle)
patool 4.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,400 kB
  • sloc: python: 5,534; makefile: 177; sh: 122; vhdl: 1
file content (72 lines) | stat: -rw-r--r-- 1,688 bytes parent folder | download
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
[project]
name = "patool"
version = "4.0.4"
requires-python = ">=3.12"
dependencies = []
# these values are set by setup.py
dynamic = ["scripts", "authors", "keywords", "classifiers", "urls", "license", "readme", "description"]

[build-system]
requires = ["setuptools-reproducible"]
build-backend = "setuptools_reproducible"

# work around https://github.com/astral-sh/uv/issues/9513
[tool.setuptools]
license-files = []

[project.optional-dependencies]
# optional features
argcompletion = [
  'argcomplete==3.6.3',
]

# these modules are only needed for development
[dependency-groups]
dev = [
  # for using setuptools.setup() in setup.py
  "setuptools==80.9.0",

  # for testing
  "pytest==9.0.2",
  # plugin to run tests in parallel
  "pytest-xdist[psutil]==3.8.0",
  # plugin to run tests in random order
  "pytest-randomly==4.0.1",

  # for python code linting
  "ruff==0.14.13",

  # for python type checking
  "ty==0.0.12",

  # for generating a Python .whl file
  "wheel==0.45.1",

  # for generating the web page
  "sphinx==9.1.0",
  "myst-parser==5.0.0",

  # for upgrading the version number
  "bump2version==1.0.1",

  # for auditing github actions
  "zizmor==1.22.0",

  # for auditing python packages
  "pip-audit==2.10.0",

  # test optional functionality
  "patool[argcompletion]",
]

[tool.patool]
# pin versions of Python and uv for development
python_version_dev = "3.14.2"
uv_version_dev = "0.9.26"

[tool.ty.environment]
# patool uses some imports and attributes that are only available on windows
# so set the type check platform to windows
python-platform = "win32"
# patool tries to import modules that are only available on Python >= 3.14
python-version = "3.14"