Skip to content

Commit 11b0c9e

Browse files
committed
Switch back to setuptools
1 parent 5657fa0 commit 11b0c9e

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

MANIFEST.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
include README.rst
2+
include LICENSE
3+
include CHANGES
4+
5+
include tox.ini
6+
7+
recursive-include sphinxcontrib/applehelp/templates *
8+
recursive-include sphinxcontrib/applehelp/locales *
9+
recursive-include tests *

pyproject.toml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["flit_core>=3.7"]
3-
build-backend = "flit_core.buildapi"
2+
requires = ["setuptools>=64"]
3+
build-backend = "setuptools.build_meta"
44

55
# project metadata
66
[project]
7-
name = "sphinxcontrib.applehelp"
7+
name = "sphinxcontrib-applehelp"
88
description = "sphinxcontrib-applehelp is a Sphinx extension which outputs Apple help books"
99
readme = "README.rst"
1010
urls.Changelog = "https://www.sphinx-doc.org/en/master/changes.html"
@@ -56,17 +56,8 @@ lint = [
5656
name = "Georg Brandl"
5757
email = "georg@python.org"
5858

59-
[tool.flit.sdist]
60-
include = [
61-
"LICENSE",
62-
"CHANGES",
63-
# Tests
64-
"tests/",
65-
"tox.ini",
66-
]
67-
exclude = [
68-
"doc/_build",
69-
]
59+
[tool.setuptools.dynamic]
60+
version.attr = "sphinxcontrib.applehelp.__version__"
7061

7162
[tool.mypy]
7263
ignore_missing_imports = true

0 commit comments

Comments
 (0)