Skip to content

Commit 2981e43

Browse files
committed
Merge branch 'pyproject'
2 parents 7e05fea + 9003a00 commit 2981e43

File tree

8 files changed

+78
-131
lines changed

8 files changed

+78
-131
lines changed

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
max-line-length = 95
3+
ignore = E116,E241,E251
4+
exclude = .git,.tox,.venv

babel.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[extract_messages]
2+
output_file = sphinxcontrib/htmlhelp/locales/sphinxcontrib.htmlhelp.pot
3+
keywords = _ __
4+
5+
[compile_catalog]
6+
domain = sphinxcontrib.htmlhelp
7+
directory = sphinxcontrib/htmlhelp/locales/
8+
use_fuzzy = true

pyproject.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[build-system]
2+
requires = ["setuptools>=64"]
3+
build-backend = "setuptools.build_meta"
4+
5+
# project metadata
6+
[project]
7+
name = "sphinxcontrib-htmlhelp"
8+
description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files"
9+
readme = "README.rst"
10+
urls.Changelog = "https://www.sphinx-doc.org/en/master/changes.html"
11+
urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-htmlhelp"
12+
urls.Download = "https://pypi.org/project/sphinxcontrib-htmlhelp/"
13+
urls.Homepage = "https://www.sphinx-doc.org/"
14+
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues"
15+
license.text = "BSD-2-Clause"
16+
requires-python = ">=3.8"
17+
18+
# Classifiers list: https://pypi.org/classifiers/
19+
classifiers = [
20+
"Development Status :: 5 - Production/Stable",
21+
"Environment :: Console",
22+
"Environment :: Web Environment",
23+
"Intended Audience :: Developers",
24+
"Intended Audience :: Education",
25+
"License :: OSI Approved :: BSD License",
26+
"Operating System :: OS Independent",
27+
"Programming Language :: Python",
28+
"Programming Language :: Python :: 3",
29+
"Programming Language :: Python :: 3 :: Only",
30+
"Programming Language :: Python :: 3.8",
31+
"Programming Language :: Python :: 3.9",
32+
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: 3.11",
34+
"Programming Language :: Python :: 3.12",
35+
"Framework :: Sphinx",
36+
"Framework :: Sphinx :: Extension",
37+
"Topic :: Documentation",
38+
"Topic :: Documentation :: Sphinx",
39+
"Topic :: Text Processing",
40+
"Topic :: Utilities",
41+
]
42+
dependencies = []
43+
dynamic = ["version"]
44+
45+
[project.optional-dependencies]
46+
test = [
47+
"pytest",
48+
"html5lib",
49+
]
50+
lint = [
51+
"flake8",
52+
"mypy",
53+
"docutils-stubs",
54+
]
55+
56+
[[project.authors]]
57+
name = "Georg Brandl"
58+
email = "georg@python.org"
59+
60+
[tool.setuptools.dynamic]
61+
version.attr = "sphinxcontrib.htmlhelp.__version__"
62+
63+
[tool.mypy]
64+
ignore_missing_imports = true

setup.cfg

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

setup.py

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

sphinxcontrib/__init__.py

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

sphinxcontrib/htmlhelp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
from sphinx.util.template import SphinxRenderer
3131
from sphinx.writers.html import HTMLTranslator
3232

33-
from sphinxcontrib.htmlhelp.version import __version__
34-
33+
__version__ = '2.0.1'
34+
__version_info__ = (2, 0, 1)
3535

3636
logger = logging.getLogger(__name__)
3737
__ = get_translation(__name__, 'console')

sphinxcontrib/htmlhelp/version.py

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

0 commit comments

Comments
 (0)