pkg-about 1.1.8__zip → 1.2.0__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pkg_about-1.1.8 → pkg_about-1.2.0}/CHANGES.rst +6 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/PKG-INFO +20 -12
- {pkg_about-1.1.8 → pkg_about-1.2.0}/README.rst +3 -2
- {pkg_about-1.1.8 → pkg_about-1.2.0}/docs/conf.py +1 -1
- {pkg_about-1.1.8 → pkg_about-1.2.0}/pyproject.toml +21 -20
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about/__about__.py +0 -1
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about/_about.py +30 -3
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about.egg-info/PKG-INFO +20 -12
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about.egg-info/requires.txt +9 -7
- {pkg_about-1.1.8 → pkg_about-1.2.0}/tests/test_main.py +2 -2
- {pkg_about-1.1.8 → pkg_about-1.2.0}/.readthedocs.yml +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/LICENSE +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/MANIFEST.in +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/docs/CHANGES.rst +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/docs/README.rst +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/docs/_static/.keep +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/docs/_templates/.keep +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/docs/index.rst +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/setup.cfg +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about/__init__.py +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about.egg-info/SOURCES.txt +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about.egg-info/dependency_links.txt +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about.egg-info/top_level.txt +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/src/pkg_about.egg-info/zip-safe +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/tests/__init__.py +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/tests/__main__.py +0 -0
- {pkg_about-1.1.8 → pkg_about-1.2.0}/tests/data/.keep +0 -0
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
1.2.0 (2024-09-30)
|
|
5
|
+
------------------
|
|
6
|
+
- Drop support for Python 3.8
|
|
7
|
+
- Ability to obtain __copyright__ from the README.rst content.
|
|
8
|
+
- Setup (dependencies) update.
|
|
9
|
+
|
|
4
10
|
1.1.8 (2024-08-13)
|
|
5
11
|
------------------
|
|
6
12
|
- Add support for Python 3.13
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pkg-about
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Shares Python package metadata at runtime.
|
|
5
5
|
Author: Adam Karpierz
|
|
6
6
|
Author-email: adam@karpierz.net
|
|
@@ -21,7 +21,6 @@ Classifier: Operating System :: OS Independent
|
|
|
21
21
|
Classifier: Natural Language :: Polish
|
|
22
22
|
Classifier: Programming Language :: Python
|
|
23
23
|
Classifier: Programming Language :: Python :: 3
|
|
24
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.9
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.10
|
|
27
26
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -31,24 +30,26 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
31
30
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
32
31
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
33
32
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
34
|
-
Requires-Python: <4.0.0,>=3.
|
|
33
|
+
Requires-Python: <4.0.0,>=3.9.0
|
|
35
34
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
36
35
|
License-File: LICENSE
|
|
37
|
-
Requires-Dist: setuptools>=
|
|
36
|
+
Requires-Dist: setuptools>=75.1.0
|
|
38
37
|
Requires-Dist: packaging>=24.1.0
|
|
38
|
+
Requires-Dist: importlib-metadata>=8.5.0
|
|
39
39
|
Requires-Dist: tomli>=2.0.1; python_version < "3.11"
|
|
40
|
+
Requires-Dist: docutils>=0.21.2
|
|
40
41
|
Provides-Extra: doc
|
|
41
|
-
Requires-Dist: Sphinx>=7.
|
|
42
|
-
Requires-Dist: sphinx-toolbox>=3.
|
|
42
|
+
Requires-Dist: Sphinx>=7.4.7; extra == "doc"
|
|
43
|
+
Requires-Dist: sphinx-toolbox>=3.8.0; extra == "doc"
|
|
43
44
|
Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
|
|
44
45
|
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
|
|
45
46
|
Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
|
|
46
|
-
Requires-Dist: sphinx-lint>=0.
|
|
47
|
+
Requires-Dist: sphinx-lint>=1.0.0; extra == "doc"
|
|
47
48
|
Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
48
|
-
Requires-Dist: nbsphinx>=0.9.
|
|
49
|
+
Requires-Dist: nbsphinx>=0.9.5; extra == "doc"
|
|
49
50
|
Provides-Extra: test
|
|
50
|
-
Requires-Dist: deepdiff>=
|
|
51
|
-
Requires-Dist: rich>=13.
|
|
51
|
+
Requires-Dist: deepdiff>=8.0.1; extra == "test"
|
|
52
|
+
Requires-Dist: rich>=13.8.1; extra == "test"
|
|
52
53
|
|
|
53
54
|
pkg-about
|
|
54
55
|
=========
|
|
@@ -74,7 +75,7 @@ Installation
|
|
|
74
75
|
|
|
75
76
|
Prerequisites:
|
|
76
77
|
|
|
77
|
-
+ Python 3.
|
|
78
|
+
+ Python 3.9 or higher
|
|
78
79
|
|
|
79
80
|
* https://www.python.org/
|
|
80
81
|
|
|
@@ -123,7 +124,7 @@ or on development mode:
|
|
|
123
124
|
License
|
|
124
125
|
=======
|
|
125
126
|
|
|
126
|
-
|
|
|
127
|
+
| |copyright|
|
|
127
128
|
| Licensed under the zlib/libpng License
|
|
128
129
|
| https://opensource.org/license/zlib
|
|
129
130
|
| Please refer to the accompanying LICENSE file.
|
|
@@ -135,6 +136,7 @@ Authors
|
|
|
135
136
|
|
|
136
137
|
.. |package| replace:: pkg-about
|
|
137
138
|
.. |package_bold| replace:: **pkg-about**
|
|
139
|
+
.. |copyright| replace:: Copyright (c) 2020-2024 Adam Karpierz
|
|
138
140
|
.. |respository| replace:: https://github.com/karpierz/pkg-about.git
|
|
139
141
|
.. _Development page: https://github.com/karpierz/pkg-about
|
|
140
142
|
.. _PyPI record: https://pypi.org/project/pkg-about/
|
|
@@ -143,6 +145,12 @@ Authors
|
|
|
143
145
|
Changelog
|
|
144
146
|
=========
|
|
145
147
|
|
|
148
|
+
1.2.0 (2024-09-30)
|
|
149
|
+
------------------
|
|
150
|
+
- Drop support for Python 3.8
|
|
151
|
+
- Ability to obtain __copyright__ from the README.rst content.
|
|
152
|
+
- Setup (dependencies) update.
|
|
153
|
+
|
|
146
154
|
1.1.8 (2024-08-13)
|
|
147
155
|
------------------
|
|
148
156
|
- Add support for Python 3.13
|
|
@@ -22,7 +22,7 @@ Installation
|
|
|
22
22
|
|
|
23
23
|
Prerequisites:
|
|
24
24
|
|
|
25
|
-
+ Python 3.
|
|
25
|
+
+ Python 3.9 or higher
|
|
26
26
|
|
|
27
27
|
* https://www.python.org/
|
|
28
28
|
|
|
@@ -71,7 +71,7 @@ or on development mode:
|
|
|
71
71
|
License
|
|
72
72
|
=======
|
|
73
73
|
|
|
74
|
-
|
|
|
74
|
+
| |copyright|
|
|
75
75
|
| Licensed under the zlib/libpng License
|
|
76
76
|
| https://opensource.org/license/zlib
|
|
77
77
|
| Please refer to the accompanying LICENSE file.
|
|
@@ -83,6 +83,7 @@ Authors
|
|
|
83
83
|
|
|
84
84
|
.. |package| replace:: pkg-about
|
|
85
85
|
.. |package_bold| replace:: **pkg-about**
|
|
86
|
+
.. |copyright| replace:: Copyright (c) 2020-2024 Adam Karpierz
|
|
86
87
|
.. |respository| replace:: https://github.com/karpierz/pkg-about.git
|
|
87
88
|
.. _Development page: https://github.com/karpierz/pkg-about
|
|
88
89
|
.. _PyPI record: https://pypi.org/project/pkg-about/
|
|
@@ -34,7 +34,7 @@ release = about.__version__
|
|
|
34
34
|
|
|
35
35
|
# If your documentation needs a minimal Sphinx version, state it here.
|
|
36
36
|
#
|
|
37
|
-
needs_sphinx = '
|
|
37
|
+
needs_sphinx = '7.4.7'
|
|
38
38
|
|
|
39
39
|
# Add any Sphinx extension module names here, as strings. They can be
|
|
40
40
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
[build-system]
|
|
5
5
|
build-backend = 'setuptools.build_meta'
|
|
6
|
-
requires = ['setuptools>=
|
|
6
|
+
requires = ['setuptools>=75.1.0', 'wheel>=0.44.0', 'packaging>=24.1.0', 'tox>=4.20.0']
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = 'pkg-about'
|
|
10
|
-
version = '1.
|
|
10
|
+
version = '1.2.0'
|
|
11
11
|
description = 'Shares Python package metadata at runtime.'
|
|
12
12
|
urls.Homepage = 'https://pypi.org/project/pkg-about/'
|
|
13
13
|
urls.Documentation = 'https://pkg-about.readthedocs.io/'
|
|
@@ -32,7 +32,6 @@ classifiers = [
|
|
|
32
32
|
'Natural Language :: Polish',
|
|
33
33
|
'Programming Language :: Python',
|
|
34
34
|
'Programming Language :: Python :: 3',
|
|
35
|
-
'Programming Language :: Python :: 3.8',
|
|
36
35
|
'Programming Language :: Python :: 3.9',
|
|
37
36
|
'Programming Language :: Python :: 3.10',
|
|
38
37
|
'Programming Language :: Python :: 3.11',
|
|
@@ -43,29 +42,31 @@ classifiers = [
|
|
|
43
42
|
'Programming Language :: Python :: Implementation :: PyPy',
|
|
44
43
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
45
44
|
]
|
|
46
|
-
requires-python = '>=3.
|
|
45
|
+
requires-python = '>=3.9.0,<4.0.0'
|
|
47
46
|
dependencies = [
|
|
48
47
|
# mandatory
|
|
49
|
-
'setuptools>=
|
|
48
|
+
'setuptools>=75.1.0',
|
|
50
49
|
'packaging>=24.1.0',
|
|
50
|
+
'importlib-metadata>=8.5.0',
|
|
51
51
|
'tomli>=2.0.1 ; python_version < "3.11"',
|
|
52
|
+
'docutils>=0.21.2',
|
|
52
53
|
# others
|
|
53
54
|
]
|
|
54
55
|
dynamic = ['readme']
|
|
55
56
|
[project.optional-dependencies]
|
|
56
57
|
doc = [
|
|
57
|
-
'Sphinx>=7.
|
|
58
|
-
'sphinx-toolbox>=3.
|
|
58
|
+
'Sphinx>=7.4.7',
|
|
59
|
+
'sphinx-toolbox>=3.8.0',
|
|
59
60
|
'sphinx-tabs>=3.4.5',
|
|
60
61
|
'sphinx-copybutton>=0.5.2',
|
|
61
62
|
'sphinxcontrib-spelling>=8.0.0',
|
|
62
|
-
'sphinx-lint>=0.
|
|
63
|
+
'sphinx-lint>=1.0.0',
|
|
63
64
|
'restructuredtext-lint>=1.4.0',
|
|
64
|
-
'nbsphinx>=0.9.
|
|
65
|
+
'nbsphinx>=0.9.5',
|
|
65
66
|
]
|
|
66
67
|
test = [
|
|
67
|
-
'deepdiff>=
|
|
68
|
-
'rich>=13.
|
|
68
|
+
'deepdiff>=8.0.1',
|
|
69
|
+
'rich>=13.8.1',
|
|
69
70
|
]
|
|
70
71
|
|
|
71
72
|
[project.scripts]
|
|
@@ -159,27 +160,27 @@ count = true
|
|
|
159
160
|
[tool.tox]
|
|
160
161
|
legacy_tox_ini = """
|
|
161
162
|
[tox]
|
|
162
|
-
envlist = py{
|
|
163
|
+
envlist = py{39,310,311,312,313}, pypy{39,310}, docs
|
|
163
164
|
labels =
|
|
164
|
-
py = py{
|
|
165
|
+
py = py{39,310,311,312,313}, pypy{39,310}
|
|
165
166
|
prepare = prepare
|
|
166
167
|
coverage = coverage
|
|
167
168
|
lint = lint
|
|
168
169
|
docs = docs
|
|
169
|
-
build = py{
|
|
170
|
-
deploy = py{
|
|
171
|
-
minversion = 4.
|
|
170
|
+
build = py{39,310,311,312,313}, pypy{39,310}, docs, build
|
|
171
|
+
deploy = py{39,310,311,312,313}, pypy{39,310}, docs, build, publish
|
|
172
|
+
minversion = 4.20.0
|
|
172
173
|
skip_missing_interpreters = true
|
|
173
174
|
requires =
|
|
174
175
|
{[base]deps}
|
|
175
|
-
virtualenv>=20.26.
|
|
176
|
+
virtualenv>=20.26.6
|
|
176
177
|
tox-tags>=0.2.0
|
|
177
178
|
|
|
178
179
|
[base]
|
|
179
180
|
basepython = python3.12
|
|
180
181
|
deps =
|
|
181
182
|
pip>=24.2.0
|
|
182
|
-
setuptools>=
|
|
183
|
+
setuptools>=75.1.0
|
|
183
184
|
wheel>=0.44.0
|
|
184
185
|
packagesubdir = pkg_about
|
|
185
186
|
|
|
@@ -214,7 +215,7 @@ deps =
|
|
|
214
215
|
{[testenv]deps}
|
|
215
216
|
coverage>=7.6.1
|
|
216
217
|
covdefaults>=2.3.0
|
|
217
|
-
diff-cover>=9.
|
|
218
|
+
diff-cover>=9.2.0
|
|
218
219
|
|
|
219
220
|
[testenv:docs]
|
|
220
221
|
basepython = {[base]basepython}
|
|
@@ -228,7 +229,7 @@ extras = doc
|
|
|
228
229
|
deps =
|
|
229
230
|
|
|
230
231
|
[testenv:build]
|
|
231
|
-
depends = py{
|
|
232
|
+
depends = py{39,310,311,312,313}, pypy{39,310}, docs
|
|
232
233
|
basepython = {[base]basepython}
|
|
233
234
|
commands =
|
|
234
235
|
{envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
|
|
@@ -7,7 +7,7 @@ __all__ = ('about', 'about_from_setup')
|
|
|
7
7
|
def about(package=None):
|
|
8
8
|
import sys
|
|
9
9
|
from packaging.version import parse as parse_version
|
|
10
|
-
from
|
|
10
|
+
from importlib_metadata import metadata as get_metadata
|
|
11
11
|
pkg_globals = sys._getframe(1).f_globals
|
|
12
12
|
pkg_globals.pop("__builtins__", None)
|
|
13
13
|
pkg_globals.pop("__cached__", None)
|
|
@@ -46,7 +46,7 @@ def about(package=None):
|
|
|
46
46
|
__maintainer__ = metadata.get("Maintainer"),
|
|
47
47
|
__maintainer_email__ = metadata.get("Maintainer-email"),
|
|
48
48
|
__license__ = metadata.get("License"),
|
|
49
|
-
__copyright__ = metadata.get("
|
|
49
|
+
__copyright__ = __get_copyright(metadata.get("Description"))
|
|
50
50
|
)
|
|
51
51
|
|
|
52
52
|
pkg_globals.update(pkg_metadata)
|
|
@@ -73,6 +73,7 @@ def about_from_setup(package_path=None):
|
|
|
73
73
|
if package_path is None else Path(package_path))
|
|
74
74
|
pyproject_path = package_path/"pyproject.toml"
|
|
75
75
|
setup_cfg_path = package_path/"setup.cfg"
|
|
76
|
+
readme_path = package_path/"README.rst"
|
|
76
77
|
metadata = {}
|
|
77
78
|
if setup_cfg_path.exists():
|
|
78
79
|
metadata.update(read_setupcfg(setup_cfg_path,
|
|
@@ -91,7 +92,8 @@ def about_from_setup(package_path=None):
|
|
|
91
92
|
copyr_patt = re.compile(r"^\s*__copyright__\s*=\s*")
|
|
92
93
|
about_py = package_path.glob("src/**/__about__.py")
|
|
93
94
|
version = parse_version(metadata["version"])
|
|
94
|
-
release_levels
|
|
95
|
+
release_levels = __release_levels
|
|
96
|
+
get, get_copyright = __get, __get_copyright
|
|
95
97
|
|
|
96
98
|
class about:
|
|
97
99
|
__slots__ = ()
|
|
@@ -132,6 +134,8 @@ def about_from_setup(package_path=None):
|
|
|
132
134
|
(next(about_py).open("rt", encoding="utf-8")
|
|
133
135
|
if about_py else ())
|
|
134
136
|
if copyr_patt.split(line)[1:]), "None"))
|
|
137
|
+
if __copyright__ is None and readme_path.exists():
|
|
138
|
+
__copyright__ = get_copyright(readme_path.read_text(encoding="utf-8"))
|
|
135
139
|
|
|
136
140
|
pkg_globals["about"] = about
|
|
137
141
|
pkg_globals.setdefault("__all__", [])
|
|
@@ -150,6 +154,29 @@ def __get(mdata, *keys):
|
|
|
150
154
|
return mdata
|
|
151
155
|
|
|
152
156
|
|
|
157
|
+
def __get_copyright(description):
|
|
158
|
+
from docutils.core import publish_doctree
|
|
159
|
+
from docutils import nodes
|
|
160
|
+
copyr = None
|
|
161
|
+
if description is not None:
|
|
162
|
+
document = publish_doctree(description)
|
|
163
|
+
subst_name = document.substitution_names.get("copyright")
|
|
164
|
+
substitution = document.substitution_defs.get(subst_name)
|
|
165
|
+
if substitution is not None:
|
|
166
|
+
copyr = substitution.astext()
|
|
167
|
+
else:
|
|
168
|
+
# Try to get from 'License' section
|
|
169
|
+
section = document.ids.get(document.nameids.get("license"))
|
|
170
|
+
if section is not None:
|
|
171
|
+
lblock = section.next_node(nodes.line_block)
|
|
172
|
+
if lblock is not None:
|
|
173
|
+
copyr = next((line for _ in lblock.findall(nodes.line)
|
|
174
|
+
if ((line := _.astext().lstrip()).lower()
|
|
175
|
+
.startswith("copyright"))), None)
|
|
176
|
+
return copyr
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
153
180
|
__release_levels = dict(
|
|
154
181
|
a = "alpha",
|
|
155
182
|
b = "beta",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pkg-about
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Shares Python package metadata at runtime.
|
|
5
5
|
Author: Adam Karpierz
|
|
6
6
|
Author-email: adam@karpierz.net
|
|
@@ -21,7 +21,6 @@ Classifier: Operating System :: OS Independent
|
|
|
21
21
|
Classifier: Natural Language :: Polish
|
|
22
22
|
Classifier: Programming Language :: Python
|
|
23
23
|
Classifier: Programming Language :: Python :: 3
|
|
24
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.9
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.10
|
|
27
26
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -31,24 +30,26 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
31
30
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
32
31
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
33
32
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
34
|
-
Requires-Python: <4.0.0,>=3.
|
|
33
|
+
Requires-Python: <4.0.0,>=3.9.0
|
|
35
34
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
36
35
|
License-File: LICENSE
|
|
37
|
-
Requires-Dist: setuptools>=
|
|
36
|
+
Requires-Dist: setuptools>=75.1.0
|
|
38
37
|
Requires-Dist: packaging>=24.1.0
|
|
38
|
+
Requires-Dist: importlib-metadata>=8.5.0
|
|
39
39
|
Requires-Dist: tomli>=2.0.1; python_version < "3.11"
|
|
40
|
+
Requires-Dist: docutils>=0.21.2
|
|
40
41
|
Provides-Extra: doc
|
|
41
|
-
Requires-Dist: Sphinx>=7.
|
|
42
|
-
Requires-Dist: sphinx-toolbox>=3.
|
|
42
|
+
Requires-Dist: Sphinx>=7.4.7; extra == "doc"
|
|
43
|
+
Requires-Dist: sphinx-toolbox>=3.8.0; extra == "doc"
|
|
43
44
|
Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
|
|
44
45
|
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
|
|
45
46
|
Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
|
|
46
|
-
Requires-Dist: sphinx-lint>=0.
|
|
47
|
+
Requires-Dist: sphinx-lint>=1.0.0; extra == "doc"
|
|
47
48
|
Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
48
|
-
Requires-Dist: nbsphinx>=0.9.
|
|
49
|
+
Requires-Dist: nbsphinx>=0.9.5; extra == "doc"
|
|
49
50
|
Provides-Extra: test
|
|
50
|
-
Requires-Dist: deepdiff>=
|
|
51
|
-
Requires-Dist: rich>=13.
|
|
51
|
+
Requires-Dist: deepdiff>=8.0.1; extra == "test"
|
|
52
|
+
Requires-Dist: rich>=13.8.1; extra == "test"
|
|
52
53
|
|
|
53
54
|
pkg-about
|
|
54
55
|
=========
|
|
@@ -74,7 +75,7 @@ Installation
|
|
|
74
75
|
|
|
75
76
|
Prerequisites:
|
|
76
77
|
|
|
77
|
-
+ Python 3.
|
|
78
|
+
+ Python 3.9 or higher
|
|
78
79
|
|
|
79
80
|
* https://www.python.org/
|
|
80
81
|
|
|
@@ -123,7 +124,7 @@ or on development mode:
|
|
|
123
124
|
License
|
|
124
125
|
=======
|
|
125
126
|
|
|
126
|
-
|
|
|
127
|
+
| |copyright|
|
|
127
128
|
| Licensed under the zlib/libpng License
|
|
128
129
|
| https://opensource.org/license/zlib
|
|
129
130
|
| Please refer to the accompanying LICENSE file.
|
|
@@ -135,6 +136,7 @@ Authors
|
|
|
135
136
|
|
|
136
137
|
.. |package| replace:: pkg-about
|
|
137
138
|
.. |package_bold| replace:: **pkg-about**
|
|
139
|
+
.. |copyright| replace:: Copyright (c) 2020-2024 Adam Karpierz
|
|
138
140
|
.. |respository| replace:: https://github.com/karpierz/pkg-about.git
|
|
139
141
|
.. _Development page: https://github.com/karpierz/pkg-about
|
|
140
142
|
.. _PyPI record: https://pypi.org/project/pkg-about/
|
|
@@ -143,6 +145,12 @@ Authors
|
|
|
143
145
|
Changelog
|
|
144
146
|
=========
|
|
145
147
|
|
|
148
|
+
1.2.0 (2024-09-30)
|
|
149
|
+
------------------
|
|
150
|
+
- Drop support for Python 3.8
|
|
151
|
+
- Ability to obtain __copyright__ from the README.rst content.
|
|
152
|
+
- Setup (dependencies) update.
|
|
153
|
+
|
|
146
154
|
1.1.8 (2024-08-13)
|
|
147
155
|
------------------
|
|
148
156
|
- Add support for Python 3.13
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
setuptools>=
|
|
1
|
+
setuptools>=75.1.0
|
|
2
2
|
packaging>=24.1.0
|
|
3
|
+
importlib-metadata>=8.5.0
|
|
4
|
+
docutils>=0.21.2
|
|
3
5
|
|
|
4
6
|
[:python_version < "3.11"]
|
|
5
7
|
tomli>=2.0.1
|
|
6
8
|
|
|
7
9
|
[doc]
|
|
8
|
-
Sphinx>=7.
|
|
9
|
-
sphinx-toolbox>=3.
|
|
10
|
+
Sphinx>=7.4.7
|
|
11
|
+
sphinx-toolbox>=3.8.0
|
|
10
12
|
sphinx-tabs>=3.4.5
|
|
11
13
|
sphinx-copybutton>=0.5.2
|
|
12
14
|
sphinxcontrib-spelling>=8.0.0
|
|
13
|
-
sphinx-lint>=0.
|
|
15
|
+
sphinx-lint>=1.0.0
|
|
14
16
|
restructuredtext-lint>=1.4.0
|
|
15
|
-
nbsphinx>=0.9.
|
|
17
|
+
nbsphinx>=0.9.5
|
|
16
18
|
|
|
17
19
|
[test]
|
|
18
|
-
deepdiff>=
|
|
19
|
-
rich>=13.
|
|
20
|
+
deepdiff>=8.0.1
|
|
21
|
+
rich>=13.8.1
|
|
@@ -11,7 +11,7 @@ class MainTestCase(unittest.TestCase):
|
|
|
11
11
|
|
|
12
12
|
@classmethod
|
|
13
13
|
def setUpClass(cls):
|
|
14
|
-
cls.version_expected = "1.
|
|
14
|
+
cls.version_expected = "1.2.0"
|
|
15
15
|
version_parts = cls.version_expected.split(".")
|
|
16
16
|
cls.version_major_expected = int(version_parts[0])
|
|
17
17
|
cls.version_minor_expected = int(version_parts[1])
|
|
@@ -35,7 +35,7 @@ class MainTestCase(unittest.TestCase):
|
|
|
35
35
|
self.assertEqual(__maintainer_email__, "adam@karpierz.net")
|
|
36
36
|
self.assertEqual(__license__,
|
|
37
37
|
"zlib/libpng License ; https://opensource.org/license/zlib")
|
|
38
|
-
self.
|
|
38
|
+
self.assertEqual(__copyright__, "Copyright (c) 2020-2024 Adam Karpierz")
|
|
39
39
|
|
|
40
40
|
def test_about_from_setup(self):
|
|
41
41
|
pkg_about.about_from_setup(Path(__file__).resolve().parent.parent)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|