Skip to content

Commit 6ab0db2

Browse files
committed
Merge branch 'pyproject'
2 parents 883cdd9 + a764797 commit 6ab0db2

File tree

9 files changed

+89
-134
lines changed

9 files changed

+89
-134
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

MANIFEST.in

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

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/devhelp/locales/sphinxcontrib.devhelp.pot
3+
keywords = _ __
4+
5+
[compile_catalog]
6+
domain = sphinxcontrib.devhelp
7+
directory = sphinxcontrib/devhelp/locales/
8+
use_fuzzy = true

pyproject.toml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
[build-system]
2+
requires = ["flit_core>=3.7"]
3+
build-backend = "flit_core.buildapi"
4+
5+
# project metadata
6+
[project]
7+
name = "sphinxcontrib-devhelp"
8+
description = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp documents"
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-devhelp"
12+
urls.Download = "https://pypi.org/project/sphinxcontrib-devhelp/"
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.5"
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.5",
31+
"Programming Language :: Python :: 3.6",
32+
"Programming Language :: Python :: 3.7",
33+
"Programming Language :: Python :: 3.8",
34+
"Programming Language :: Python :: 3.9",
35+
"Programming Language :: Python :: 3.10",
36+
"Programming Language :: Python :: 3.11",
37+
"Programming Language :: Python :: 3.12",
38+
"Framework :: Sphinx",
39+
"Framework :: Sphinx :: Extension",
40+
"Topic :: Documentation",
41+
"Topic :: Documentation :: Sphinx",
42+
"Topic :: Text Processing",
43+
"Topic :: Utilities",
44+
]
45+
dependencies = []
46+
dynamic = ["version"]
47+
48+
[project.optional-dependencies]
49+
test = [
50+
"pytest",
51+
]
52+
lint = [
53+
"flake8",
54+
"mypy",
55+
"docutils-stubs",
56+
]
57+
58+
[[project.authors]]
59+
name = "Georg Brandl"
60+
61+
62+
[tool.flit.module]
63+
name = "sphinxcontrib.devhelp"
64+
65+
[tool.flit.sdist]
66+
include = [
67+
"CHANGES",
68+
"LICENSE",
69+
# Tests
70+
"tests/",
71+
"tox.ini",
72+
]
73+
74+
[tool.mypy]
75+
ignore_missing_imports = true

setup.cfg

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

setup.py

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

sphinxcontrib/__init__.py

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

sphinxcontrib/devhelp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
from sphinx.util.nodes import NodeMatcher
2626
from sphinx.util.osutil import make_filename
2727

28-
from sphinxcontrib.devhelp.version import __version__
29-
3028
try:
3129
import xml.etree.ElementTree as etree
3230
except ImportError:
@@ -37,6 +35,8 @@
3735
# For type annotation
3836
from typing import List # NOQA
3937

38+
__version__ = '1.0.3'
39+
__version_info__ = (1, 0, 3)
4040

4141
logger = logging.getLogger(__name__)
4242
__ = get_translation(__name__, 'console')

sphinxcontrib/devhelp/version.py

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

0 commit comments

Comments
 (0)