Skip to content

Commit d78c5e7

Browse files
committed
Change setup to pure pyproject.toml, using argparse 4.5 (WIP)
1 parent bbc5cc7 commit d78c5e7

File tree

3 files changed

+8
-27
lines changed

3 files changed

+8
-27
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,16 @@ test = [
3737

3838
[build-system]
3939
requires = [
40-
"argparse-manpage[setuptools] >= 4.2",
40+
"argparse-manpage[setuptools] >= 4.5",
4141
"puremagic >= 1.26",
4242
"pypdf >= 4.3.0",
4343
]
44+
build-backend = "setuptools.build_meta"
45+
46+
[tool.setuptools.cmdclass]
47+
build_py = "build_manpages.build_py"
48+
install = "build_manpages.install"
49+
build_manpages = "build_manpages.build_manpages"
4450

4551
[tool.build_manpages]
4652
manpages = [

setup.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist = py312,py313
33

44
[testenv]
55
deps =
6-
argparse-manpage >= 4.2
6+
argparse-manpage >= 4.5
77
pyright
88
ruff
99
setuptools

0 commit comments

Comments
 (0)