forked from pypa/pipx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
95 lines (88 loc) · 2.46 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
[build-system]
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.4",
"hatchling>=1.18",
]
[project]
name = "pipx"
description = "Install and Run Python Applications in Isolated Environments"
readme = "README.md"
keywords = [
"cli",
"install",
"pip",
"Virtual Environment",
"workflow",
]
license = "MIT"
authors = [{ name = "Chad Smith", email = "chadsmith.software@gmail.com" }]
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
]
dynamic = [
"version",
]
dependencies = [
"argcomplete>=1.9.4",
'colorama>=0.4.4; sys_platform == "win32"',
"packaging>=20",
"platformdirs>=2.1",
'tomli; python_version < "3.11"',
"userpath!=1.9.0,>=1.6",
]
urls."Bug Tracker" = "https://github.com/pypa/pipx/issues"
urls.Documentation = "https://pipx.pypa.io"
urls.Homepage = "https://pipx.pypa.io"
urls."Release Notes" = "https://pipx.pypa.io/latest/changelog/"
urls."Source Code" = "https://github.com/pypa/pipx"
scripts.pipx = "pipx.main:cli"
[tool.hatch]
build.hooks.vcs.version-file = "src/pipx/version.py"
build.targets.sdist.include = ["/src", "/logo.png", "/pipx_demo.gif", "/*.md"]
version.source = "vcs"
[tool.ruff]
line-length = 121
src = ["src"]
lint.extend-select = [
"A",
"B",
"C4",
"C9",
"I",
"PLC",
"PLE",
"PLW",
"RSE",
"W",
]
lint.isort = {known-first-party = ["helpers", "package_info", "pipx"]}
lint.mccabe.max-complexity = 15
[tool.codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = '.git,*.pdf,*.svg,.nox,testdata,.mypy_cache'
check-hidden = true
# case sensitive etc
ignore-regex = '\b(UE|path/doesnt/exist)\b'
[tool.pytest.ini_options]
markers = ["all_packages: test install with maximum number of packages"]
[tool.towncrier]
directory = "changelog.d"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
title_format = "## [{version}](https://github.com/pypa/pipx/tree/{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/pypa/pipx/issues/{issue})"
package = "pipx"
[[tool.mypy.overrides]]
module = ["pycowsay.*"]
ignore_missing_imports = true