Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f704cf

Browse files
committed
Use pyproject
1 parent 57affc0 commit 0f704cf

File tree

4 files changed

+44
-46
lines changed

4 files changed

+44
-46
lines changed

MANIFEST.in

-2
This file was deleted.

pyproject.toml

+44-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,47 @@
11
[build-system]
2-
requires = [
3-
"setuptools>=42",
4-
"wheel"
2+
requires = ["flit_core>=3.7"]
3+
build-backend = "flit_core.buildapi"
4+
5+
# project metadata
6+
[project]
7+
name = "python-docs-theme"
8+
version = "2022.1"
9+
description = "The Sphinx theme for the CPython docs and related projects"
10+
readme = "README.rst"
11+
urls.Code = "https://github.com/python/python-docs-theme"
12+
urls.Download = "https://pypi.org/project/python-docs-theme/"
13+
urls.Homepage = "https://github.com/python/python-docs-theme/"
14+
urls."Issue tracker" = "https://github.com/python/python-docs-theme/issues"
15+
license.text = "PSF-2.0"
16+
requires-python = ">=3.8"
17+
18+
# Classifiers list: https://pypi.org/classifiers/
19+
classifiers = [
20+
"Development Status :: 5 - Production/Stable",
21+
"Intended Audience :: Developers",
22+
"License :: OSI Approved :: Python Software Foundation License",
23+
"Operating System :: OS Independent",
24+
"Topic :: Documentation",
25+
"Topic :: Software Development :: Documentation",
26+
"Programming Language :: Python",
27+
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3.8",
29+
"Programming Language :: Python :: 3.9",
30+
"Programming Language :: Python :: 3.10",
31+
"Programming Language :: Python :: 3.11",
532
]
6-
build-backend = "setuptools.build_meta"
733

34+
[[project.authors]]
35+
name = "PyPA"
36+
37+
38+
[project.entry-points."sphinx.html_themes"]
39+
python_docs_theme = 'python_docs_theme'
40+
41+
[tool.flit.module]
42+
name = "python_docs_theme"
43+
44+
[tool.flit.sdist]
45+
include = [
46+
"python_docs_theme/",
47+
]

setup.cfg

-2
This file was deleted.

setup.py

-38
This file was deleted.

0 commit comments

Comments
 (0)