Skip to content

Commit 8ead5e9

Browse files
committed
Merge branch 'pyproject'
2 parents 7f23164 + a5f90db commit 8ead5e9

File tree

9 files changed

+81
-132
lines changed

9 files changed

+81
-132
lines changed

.flake8

+4
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

-9
This file was deleted.

babel.cfg

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

pyproject.toml

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
[build-system]
2+
requires = ["flit_core>=3.7"]
3+
build-backend = "flit_core.buildapi"
4+
5+
# project metadata
6+
[project]
7+
name = "sphinxcontrib.applehelp"
8+
description = "sphinxcontrib-applehelp is a Sphinx extension which outputs Apple help books"
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-applehelp"
12+
urls.Download = "https://pypi.org/project/sphinxcontrib-applehelp/"
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+
"Framework :: Sphinx",
30+
"Framework :: Sphinx :: Extension",
31+
"Topic :: Documentation",
32+
"Topic :: Documentation :: Sphinx",
33+
"Topic :: Text Processing",
34+
"Topic :: Utilities",
35+
]
36+
dependencies = []
37+
dynamic = ["version"]
38+
39+
[project.optional-dependencies]
40+
test = [
41+
"pytest",
42+
]
43+
lint = [
44+
"flake8",
45+
"mypy",
46+
"docutils-stubs",
47+
]
48+
49+
[[project.authors]]
50+
name = "Georg Brandl"
51+
52+
53+
[tool.flit.sdist]
54+
include = [
55+
"LICENSE",
56+
"CHANGES",
57+
# Tests
58+
"tests/",
59+
"tox.ini",
60+
]
61+
exclude = [
62+
"doc/_build",
63+
]
64+
65+
[tool.mypy]
66+
ignore_missing_imports = true

setup.cfg

-29
This file was deleted.

setup.py

-67
This file was deleted.

sphinxcontrib/__init__.py

-15
This file was deleted.

sphinxcontrib/applehelp/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@
2626
from sphinx.util.matching import Matcher
2727
from sphinx.util.osutil import ensuredir, make_filename
2828

29-
from sphinxcontrib.applehelp.version import __version__
30-
3129
if sphinx.version_info[:2] >= (6, 1):
3230
from sphinx.util.display import SkipProgressMessage, progress_message
3331
else:
3432
from sphinx.util import SkipProgressMessage, progress_message
3533

34+
__version__ = '1.0.3'
35+
__version_info__ = (1, 0, 3)
36+
3637
package_dir = path.abspath(path.dirname(__file__))
3738
template_dir = path.join(package_dir, 'templates')
3839

sphinxcontrib/applehelp/version.py

-10
This file was deleted.

0 commit comments

Comments
 (0)