annotate 1.0.19__zip → 1.0.20__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.
- annotate-1.0.20/.readthedocs.yml +15 -0
- {annotate-1.0.19 → annotate-1.0.20}/CHANGES.rst +8 -2
- {annotate-1.0.19 → annotate-1.0.20}/LICENSE +1 -1
- {annotate-1.0.19 → annotate-1.0.20}/MANIFEST.in +2 -3
- {annotate-1.0.19 → annotate-1.0.20}/PKG-INFO +31 -14
- {annotate-1.0.19 → annotate-1.0.20}/README.rst +5 -6
- {annotate-1.0.19 → annotate-1.0.20}/pyproject.toml +90 -82
- annotate-1.0.20/setup.cfg +4 -0
- annotate-1.0.20/src/annotate/__about__.py +5 -0
- annotate-1.0.20/src/annotate/__init__.py +6 -0
- {annotate-1.0.19 → annotate-1.0.20}/src/annotate/_annotate.py +2 -3
- {annotate-1.0.19 → annotate-1.0.20}/src/annotate.egg-info/PKG-INFO +31 -14
- {annotate-1.0.19 → annotate-1.0.20}/src/annotate.egg-info/SOURCES.txt +0 -1
- annotate-1.0.20/src/annotate.egg-info/requires.txt +16 -0
- {annotate-1.0.19 → annotate-1.0.20}/tests/__init__.py +2 -3
- {annotate-1.0.19 → annotate-1.0.20}/tests/__main__.py +2 -3
- {annotate-1.0.19 → annotate-1.0.20}/tests/test_main.py +2 -3
- annotate-1.0.19/.readthedocs.yml +0 -9
- annotate-1.0.19/setup.cfg +0 -11
- annotate-1.0.19/src/annotate/__about__.py +0 -6
- annotate-1.0.19/src/annotate/__init__.py +0 -7
- annotate-1.0.19/src/annotate.egg-info/requires.txt +0 -14
- {annotate-1.0.19 → annotate-1.0.20}/docs/CHANGES.rst +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/docs/README.rst +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/docs/_static/.keep +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/docs/_templates/.keep +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/docs/conf.py +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/docs/index.rst +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/src/annotate.egg-info/dependency_links.txt +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/src/annotate.egg-info/top_level.txt +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/src/annotate.egg-info/zip-safe +0 -0
- {annotate-1.0.19 → annotate-1.0.20}/tests/data/.keep +0 -0
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
-
1.
|
|
4
|
+
1.0.20 (2024-08-13)
|
|
5
|
+
-------------------
|
|
6
|
+
- Add support for Python 3.12 and 3.13
|
|
7
|
+
- Drop support for Python 3.7
|
|
8
|
+
- Setup (dependencies) update.
|
|
9
|
+
|
|
10
|
+
1.0.19 (2022-10-18)
|
|
5
11
|
-------------------
|
|
6
12
|
- Tox configuration has been moved to pyproject.toml
|
|
7
13
|
|
|
@@ -16,7 +22,7 @@ Changelog
|
|
|
16
22
|
|
|
17
23
|
1.0.16 (2022-01-10)
|
|
18
24
|
-------------------
|
|
19
|
-
- Drop support for Python 2, 3.5 and 3.6
|
|
25
|
+
- Drop support for Python 2, 3.5 and 3.6
|
|
20
26
|
- Copyright year update.
|
|
21
27
|
- Setup update.
|
|
22
28
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: annotate
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.20
|
|
4
4
|
Summary: Decorator to set a function's __annotations__ like Py3.
|
|
5
5
|
Author: Adam Karpierz
|
|
6
6
|
Author-email: adam@karpierz.net
|
|
7
7
|
Maintainer: Adam Karpierz
|
|
8
8
|
Maintainer-email: adam@karpierz.net
|
|
9
|
-
License: zlib/libpng License ; https://opensource.org/
|
|
9
|
+
License: zlib/libpng License ; https://opensource.org/license/zlib
|
|
10
10
|
Project-URL: Homepage, https://pypi.org/project/annotate/
|
|
11
11
|
Project-URL: Documentation, https://annotate2.readthedocs.io/
|
|
12
12
|
Project-URL: Download, https://pypi.org/project/annotate/
|
|
@@ -21,21 +21,33 @@ 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.7
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.8
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.9
|
|
27
26
|
Classifier: Programming Language :: Python :: 3.10
|
|
28
27
|
Classifier: Programming Language :: Python :: 3.11
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
29
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
29
30
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
30
31
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
31
32
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
32
|
-
Classifier: Programming Language :: Python :: Implementation :: Stackless
|
|
33
33
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
34
|
-
Requires-Python: <4.0.0,>=3.
|
|
34
|
+
Requires-Python: <4.0.0,>=3.8.10
|
|
35
35
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
36
|
+
License-File: LICENSE
|
|
37
|
+
Requires-Dist: setuptools>=72.2.0
|
|
38
|
+
Requires-Dist: pkg-about>=1.1.8
|
|
36
39
|
Provides-Extra: doc
|
|
40
|
+
Requires-Dist: Sphinx>=7.1.2; extra == "doc"
|
|
41
|
+
Requires-Dist: sphinx-toolbox>=3.7.0; extra == "doc"
|
|
42
|
+
Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
|
|
43
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
|
|
44
|
+
Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
|
|
45
|
+
Requires-Dist: sphinx-lint>=0.9.1; extra == "doc"
|
|
46
|
+
Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
47
|
+
Requires-Dist: nbsphinx>=0.9.4; extra == "doc"
|
|
37
48
|
Provides-Extra: test
|
|
38
|
-
|
|
49
|
+
Requires-Dist: deepdiff>=7.0.1; extra == "test"
|
|
50
|
+
Requires-Dist: rich>=13.7.1; extra == "test"
|
|
39
51
|
|
|
40
52
|
annotate
|
|
41
53
|
========
|
|
@@ -206,10 +218,9 @@ Installation
|
|
|
206
218
|
|
|
207
219
|
Prerequisites:
|
|
208
220
|
|
|
209
|
-
+ Python 3.
|
|
221
|
+
+ Python 3.8 or higher
|
|
210
222
|
|
|
211
223
|
* https://www.python.org/
|
|
212
|
-
* 3.7 is a primary test environment.
|
|
213
224
|
|
|
214
225
|
+ pip and setuptools
|
|
215
226
|
|
|
@@ -231,7 +242,7 @@ Prerequisites:
|
|
|
231
242
|
|
|
232
243
|
python -m pip install --upgrade tox
|
|
233
244
|
|
|
234
|
-
Visit `
|
|
245
|
+
Visit `Development page`_.
|
|
235
246
|
|
|
236
247
|
Installation from sources:
|
|
237
248
|
|
|
@@ -256,9 +267,9 @@ or on development mode:
|
|
|
256
267
|
License
|
|
257
268
|
=======
|
|
258
269
|
|
|
259
|
-
| Copyright (c) 2012-
|
|
270
|
+
| Copyright (c) 2012-2024 Adam Karpierz
|
|
260
271
|
| Licensed under the zlib/libpng License
|
|
261
|
-
| https://opensource.org/
|
|
272
|
+
| https://opensource.org/license/zlib
|
|
262
273
|
| Please refer to the accompanying LICENSE file.
|
|
263
274
|
|
|
264
275
|
Authors
|
|
@@ -269,14 +280,20 @@ Authors
|
|
|
269
280
|
.. |package| replace:: annotate
|
|
270
281
|
.. |package_bold| replace:: **annotate**
|
|
271
282
|
.. |respository| replace:: https://github.com/karpierz/annotate.git
|
|
272
|
-
..
|
|
283
|
+
.. _Development page: https://github.com/karpierz/annotate
|
|
273
284
|
.. _PyPI record: https://pypi.org/project/annotate/
|
|
274
285
|
.. _Documentation: https://annotate.readthedocs.io/
|
|
275
286
|
|
|
276
287
|
Changelog
|
|
277
288
|
=========
|
|
278
289
|
|
|
279
|
-
1.
|
|
290
|
+
1.0.20 (2024-08-13)
|
|
291
|
+
-------------------
|
|
292
|
+
- Add support for Python 3.12 and 3.13
|
|
293
|
+
- Drop support for Python 3.7
|
|
294
|
+
- Setup (dependencies) update.
|
|
295
|
+
|
|
296
|
+
1.0.19 (2022-10-18)
|
|
280
297
|
-------------------
|
|
281
298
|
- Tox configuration has been moved to pyproject.toml
|
|
282
299
|
|
|
@@ -291,7 +308,7 @@ Changelog
|
|
|
291
308
|
|
|
292
309
|
1.0.16 (2022-01-10)
|
|
293
310
|
-------------------
|
|
294
|
-
- Drop support for Python 2, 3.5 and 3.6
|
|
311
|
+
- Drop support for Python 2, 3.5 and 3.6
|
|
295
312
|
- Copyright year update.
|
|
296
313
|
- Setup update.
|
|
297
314
|
|
|
@@ -167,10 +167,9 @@ Installation
|
|
|
167
167
|
|
|
168
168
|
Prerequisites:
|
|
169
169
|
|
|
170
|
-
+ Python 3.
|
|
170
|
+
+ Python 3.8 or higher
|
|
171
171
|
|
|
172
172
|
* https://www.python.org/
|
|
173
|
-
* 3.7 is a primary test environment.
|
|
174
173
|
|
|
175
174
|
+ pip and setuptools
|
|
176
175
|
|
|
@@ -192,7 +191,7 @@ Prerequisites:
|
|
|
192
191
|
|
|
193
192
|
python -m pip install --upgrade tox
|
|
194
193
|
|
|
195
|
-
Visit `
|
|
194
|
+
Visit `Development page`_.
|
|
196
195
|
|
|
197
196
|
Installation from sources:
|
|
198
197
|
|
|
@@ -217,9 +216,9 @@ or on development mode:
|
|
|
217
216
|
License
|
|
218
217
|
=======
|
|
219
218
|
|
|
220
|
-
| Copyright (c) 2012-
|
|
219
|
+
| Copyright (c) 2012-2024 Adam Karpierz
|
|
221
220
|
| Licensed under the zlib/libpng License
|
|
222
|
-
| https://opensource.org/
|
|
221
|
+
| https://opensource.org/license/zlib
|
|
223
222
|
| Please refer to the accompanying LICENSE file.
|
|
224
223
|
|
|
225
224
|
Authors
|
|
@@ -230,6 +229,6 @@ Authors
|
|
|
230
229
|
.. |package| replace:: annotate
|
|
231
230
|
.. |package_bold| replace:: **annotate**
|
|
232
231
|
.. |respository| replace:: https://github.com/karpierz/annotate.git
|
|
233
|
-
..
|
|
232
|
+
.. _Development page: https://github.com/karpierz/annotate
|
|
234
233
|
.. _PyPI record: https://pypi.org/project/annotate/
|
|
235
234
|
.. _Documentation: https://annotate.readthedocs.io/
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
# Copyright (c) 2012
|
|
2
|
-
#
|
|
3
|
-
# https://opensource.org/licenses/Zlib
|
|
1
|
+
# Copyright (c) 2012 Adam Karpierz
|
|
2
|
+
# SPDX-License-Identifier: Zlib
|
|
4
3
|
|
|
5
4
|
[build-system]
|
|
6
5
|
build-backend = 'setuptools.build_meta'
|
|
7
|
-
requires = ['setuptools>=
|
|
6
|
+
requires = ['setuptools>=72.2.0', 'wheel>=0.44.0', 'packaging>=24.1.0', 'tox>=4.18.0']
|
|
8
7
|
|
|
9
8
|
[project]
|
|
10
9
|
name = 'annotate'
|
|
11
|
-
version = '1.0.
|
|
10
|
+
version = '1.0.20'
|
|
12
11
|
description = '''Decorator to set a function's __annotations__ like Py3.'''
|
|
13
|
-
|
|
12
|
+
urls.Homepage = 'https://pypi.org/project/annotate/'
|
|
13
|
+
urls.Documentation = 'https://annotate2.readthedocs.io/'
|
|
14
|
+
urls.Download = 'https://pypi.org/project/annotate/'
|
|
15
|
+
urls.Source = 'https://github.com/karpierz/annotate'
|
|
16
|
+
urls.Issues = 'https://github.com/karpierz/annotate/issues'
|
|
17
|
+
license = { text = 'zlib/libpng License ; https://opensource.org/license/zlib' }
|
|
14
18
|
authors = [
|
|
15
19
|
{ name = 'Adam Karpierz' },
|
|
16
20
|
{ email = 'adam@karpierz.net' },
|
|
@@ -28,50 +32,46 @@ classifiers = [
|
|
|
28
32
|
'Natural Language :: Polish',
|
|
29
33
|
'Programming Language :: Python',
|
|
30
34
|
'Programming Language :: Python :: 3',
|
|
31
|
-
'Programming Language :: Python :: 3.7',
|
|
32
35
|
'Programming Language :: Python :: 3.8',
|
|
33
36
|
'Programming Language :: Python :: 3.9',
|
|
34
37
|
'Programming Language :: Python :: 3.10',
|
|
35
38
|
'Programming Language :: Python :: 3.11',
|
|
39
|
+
'Programming Language :: Python :: 3.12',
|
|
40
|
+
'Programming Language :: Python :: 3.13',
|
|
36
41
|
'Programming Language :: Python :: 3 :: Only',
|
|
37
42
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
38
43
|
'Programming Language :: Python :: Implementation :: PyPy',
|
|
39
|
-
'Programming Language :: Python :: Implementation :: Stackless',
|
|
40
44
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
41
45
|
]
|
|
42
|
-
requires-python = '>=3.
|
|
46
|
+
requires-python = '>=3.8.10,<4.0.0'
|
|
43
47
|
dependencies = [
|
|
44
48
|
# mandatory
|
|
45
|
-
'setuptools>=
|
|
46
|
-
'
|
|
49
|
+
'setuptools>=72.2.0',
|
|
50
|
+
'pkg-about>=1.1.8',
|
|
47
51
|
# others
|
|
48
52
|
]
|
|
49
53
|
dynamic = ['readme']
|
|
50
54
|
[project.optional-dependencies]
|
|
51
55
|
doc = [
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'sphinx-tabs>=3.4.
|
|
55
|
-
'
|
|
56
|
-
'sphinxcontrib-spelling>=
|
|
56
|
+
'Sphinx>=7.1.2',
|
|
57
|
+
'sphinx-toolbox>=3.7.0',
|
|
58
|
+
'sphinx-tabs>=3.4.5',
|
|
59
|
+
'sphinx-copybutton>=0.5.2',
|
|
60
|
+
'sphinxcontrib-spelling>=8.0.0',
|
|
61
|
+
'sphinx-lint>=0.9.1',
|
|
57
62
|
'restructuredtext-lint>=1.4.0',
|
|
58
|
-
'nbsphinx>=0.
|
|
63
|
+
'nbsphinx>=0.9.4',
|
|
59
64
|
]
|
|
60
65
|
test = [
|
|
61
|
-
'deepdiff>=
|
|
66
|
+
'deepdiff>=7.0.1',
|
|
67
|
+
'rich>=13.7.1',
|
|
62
68
|
]
|
|
63
|
-
[project.urls]
|
|
64
|
-
Homepage = 'https://pypi.org/project/annotate/'
|
|
65
|
-
Documentation = 'https://annotate2.readthedocs.io/'
|
|
66
|
-
Download = 'https://pypi.org/project/annotate/'
|
|
67
|
-
Source = 'https://github.com/karpierz/annotate'
|
|
68
|
-
Issues = 'https://github.com/karpierz/annotate/issues'
|
|
69
69
|
|
|
70
70
|
[project.scripts]
|
|
71
|
-
#annotate = 'annotate.__main__:main'
|
|
71
|
+
#'annotate' = 'annotate.__main__:main'
|
|
72
72
|
|
|
73
73
|
[project.gui-scripts]
|
|
74
|
-
#annotate-gui = 'annotate:main_gui'
|
|
74
|
+
#'annotate-gui' = 'annotate:main_gui'
|
|
75
75
|
|
|
76
76
|
#[project.entry-points.'annotate.magical']
|
|
77
77
|
#epoint = 'annotate:main_epoint'
|
|
@@ -97,6 +97,11 @@ where = ['src']
|
|
|
97
97
|
annotate = [
|
|
98
98
|
]
|
|
99
99
|
|
|
100
|
+
[tool.setuptools.exclude-package-data]
|
|
101
|
+
'*' = ['*.c','*.h','*.cpp','*.hpp','*.cxx','*.hxx','*.pyx','*.pxd']
|
|
102
|
+
renumerate = [
|
|
103
|
+
]
|
|
104
|
+
|
|
100
105
|
[tool.coverage.run]
|
|
101
106
|
source = [
|
|
102
107
|
'annotate',
|
|
@@ -105,18 +110,16 @@ source = [
|
|
|
105
110
|
omit = [
|
|
106
111
|
]
|
|
107
112
|
data_file = '.tox/coverage/.coverage'
|
|
113
|
+
plugins = ['covdefaults']
|
|
108
114
|
|
|
109
115
|
[tool.coverage.report]
|
|
110
116
|
exclude_lines = [
|
|
111
117
|
# Regexes
|
|
112
118
|
# Have to re-enable the standard pragma
|
|
113
|
-
'
|
|
114
|
-
'if\s+
|
|
115
|
-
'if\s+
|
|
116
|
-
'
|
|
117
|
-
'if\s+(0|False)\s*:',
|
|
118
|
-
'''if\s+__name__.*\s*==\s*'__main__'\s*:''',
|
|
119
|
-
'if\s+__name__.*\s*==\s*"__main__"\s*:',
|
|
119
|
+
'^\s*if\s+self\.debug\s*:',
|
|
120
|
+
'^\s*if\s+__debug__\s*:',
|
|
121
|
+
'^\s*if\s+(0|False)\s*:',
|
|
122
|
+
'''if\s+__name__.*\s*==\s*['"]__main__['"]\s*:''',
|
|
120
123
|
'^\s*@unittest\.skip\(',
|
|
121
124
|
'^\s*@unittest\.skipIf\(sys\.platform\.startswith\("win"\)',
|
|
122
125
|
]
|
|
@@ -155,35 +158,44 @@ count = true
|
|
|
155
158
|
[tool.tox]
|
|
156
159
|
legacy_tox_ini = """
|
|
157
160
|
[tox]
|
|
158
|
-
envlist = py{
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
envlist = py{38,39,310,311,312,313}, pypy{39,310}, docs
|
|
162
|
+
labels =
|
|
163
|
+
py = py{38,39,310,311,312,313}, pypy{39,310}
|
|
164
|
+
prepare = prepare
|
|
165
|
+
coverage = coverage
|
|
166
|
+
lint = lint
|
|
167
|
+
docs = docs
|
|
168
|
+
build = py{38,39,310,311,312,313}, pypy{39,310}, docs, build
|
|
169
|
+
deploy = py{38,39,310,311,312,313}, pypy{39,310}, docs, build, publish
|
|
170
|
+
minversion = 4.18.0
|
|
161
171
|
skip_missing_interpreters = true
|
|
162
172
|
requires =
|
|
163
|
-
|
|
164
|
-
|
|
173
|
+
{[base]deps}
|
|
174
|
+
virtualenv>=20.26.3
|
|
175
|
+
tox-backtick>=0.4.6
|
|
165
176
|
tox-tags>=0.2.0
|
|
166
|
-
tox-run-before>=0.1.0
|
|
167
|
-
{[base]setup_requires}
|
|
168
177
|
|
|
169
178
|
[base]
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
179
|
+
basepython = python3.12
|
|
180
|
+
deps =
|
|
181
|
+
pip>=24.2.0
|
|
182
|
+
setuptools>=72.2.0
|
|
183
|
+
wheel>=0.44.0
|
|
174
184
|
packagesubdir = annotate
|
|
175
185
|
|
|
176
186
|
[testenv]
|
|
177
187
|
passenv = WINDIR
|
|
188
|
+
setenv =
|
|
189
|
+
PYTHONDONTWRITEBYTECODE = 1
|
|
178
190
|
commands =
|
|
179
191
|
{envpython} --version
|
|
180
|
-
{envpython} -
|
|
192
|
+
{envpython} -m tests {posargs}
|
|
181
193
|
extras = test
|
|
182
194
|
deps =
|
|
183
|
-
{[base]
|
|
195
|
+
{[base]deps}
|
|
184
196
|
|
|
185
197
|
[testenv:prepare]
|
|
186
|
-
basepython =
|
|
198
|
+
basepython = {[base]basepython}
|
|
187
199
|
skip_install = true
|
|
188
200
|
allowlist_externals =
|
|
189
201
|
cmd
|
|
@@ -192,72 +204,68 @@ commands =
|
|
|
192
204
|
cmd /C if exist .build.cmd .build.cmd
|
|
193
205
|
|
|
194
206
|
[testenv:coverage]
|
|
195
|
-
basepython =
|
|
207
|
+
basepython = {[base]basepython}
|
|
196
208
|
commands =
|
|
197
209
|
{envpython} -m coverage erase
|
|
198
|
-
-{envpython} -
|
|
210
|
+
-{envpython} -m coverage run -m tests {posargs}
|
|
199
211
|
{envpython} -m coverage report
|
|
200
212
|
{envpython} -m coverage html
|
|
201
213
|
deps =
|
|
202
214
|
{[testenv]deps}
|
|
203
|
-
coverage>=6.
|
|
204
|
-
|
|
215
|
+
coverage>=7.6.1
|
|
216
|
+
covdefaults>=2.3.0
|
|
217
|
+
diff-cover>=9.1.1
|
|
205
218
|
|
|
206
219
|
[testenv:docs]
|
|
207
|
-
basepython =
|
|
220
|
+
basepython = {[base]basepython}
|
|
208
221
|
commands =
|
|
222
|
+
{envpython} -m sphinxlint --ignore .tox --ignore build --ignore dist
|
|
209
223
|
#{envpython} -m sphinx.apidoc -f {envsitepackagesdir}/{[base]packagesubdir}
|
|
210
|
-
{envpython} -
|
|
211
|
-
{envpython} -
|
|
212
|
-
{envpython} -
|
|
224
|
+
{envpython} -m sphinx.cmd.build -W -a -b html -E ./docs ./build/docs/html
|
|
225
|
+
{envpython} -m sphinx.cmd.build -W -a -b linkcheck ./docs ./build/docs/html
|
|
226
|
+
{envpython} -m sphinx.cmd.build -W -a -b doctest ./docs ./build/docs/html
|
|
213
227
|
extras = doc
|
|
214
228
|
deps =
|
|
215
229
|
|
|
216
230
|
[testenv:build]
|
|
217
|
-
|
|
231
|
+
depends = py{38,39,310,311,312,313}, pypy{39,310}, docs
|
|
232
|
+
basepython = {[base]basepython}
|
|
218
233
|
setenv =
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
234
|
+
{[testenv]setenv}
|
|
235
|
+
PKG_PVER=`{envpython} -W ignore -c "import platform ; print(''.join(platform.python_version_tuple()[:2]), end='')" 2> nul`
|
|
236
|
+
PKG_NAME=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_name(), end='')" 2> nul`
|
|
237
|
+
PKG_DIST=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_fullname(), end='')" 2> nul`
|
|
222
238
|
commands =
|
|
223
|
-
{
|
|
224
|
-
{
|
|
225
|
-
{envpython} -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
|
|
226
|
-
{envpython} -c "from setuptools import setup ; setup()" --quiet bdist_wheel
|
|
239
|
+
{envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
|
|
240
|
+
{envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet bdist_wheel
|
|
227
241
|
# check out for PyPi
|
|
228
242
|
{envpython} -m twine check dist/*
|
|
229
|
-
extras =
|
|
230
|
-
{[testenv]extras}
|
|
231
|
-
{[testenv:docs]extras}
|
|
232
243
|
deps =
|
|
233
244
|
{[testenv]deps}
|
|
234
|
-
|
|
235
|
-
twine>=4.0.1
|
|
245
|
+
twine>=5.1.1
|
|
236
246
|
|
|
237
247
|
[testenv:publish]
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
248
|
+
depends = build
|
|
249
|
+
basepython = {[base]basepython}
|
|
250
|
+
skip_install = true
|
|
241
251
|
commands =
|
|
242
|
-
{[testenv:build]commands}
|
|
243
252
|
# publish on PyPi
|
|
244
253
|
{envpython} -m twine upload dist/*
|
|
245
254
|
extras =
|
|
246
|
-
{[testenv:build]extras}
|
|
247
255
|
deps =
|
|
248
|
-
|
|
249
|
-
twine>=4.0.1
|
|
256
|
+
twine>=5.1.1
|
|
250
257
|
|
|
251
258
|
[testenv:lint]
|
|
252
|
-
basepython =
|
|
259
|
+
basepython = {[base]basepython}
|
|
253
260
|
commands =
|
|
254
|
-
{envpython} -m
|
|
261
|
+
{envpython} -m flake8 {envsitepackagesdir}/{[base]packagesubdir}/
|
|
255
262
|
extras =
|
|
256
263
|
deps =
|
|
257
264
|
{[testenv]deps}
|
|
258
|
-
flake8>=
|
|
259
|
-
flake8-pyproject>=1.
|
|
260
|
-
flake8-docstrings>=1.
|
|
261
|
-
pep8-naming>=0.
|
|
262
|
-
flake8-builtins>=
|
|
265
|
+
flake8>=7.1.1
|
|
266
|
+
flake8-pyproject>=1.2.3
|
|
267
|
+
flake8-docstrings>=1.7.0
|
|
268
|
+
pep8-naming>=0.14.1
|
|
269
|
+
flake8-builtins>=2.5.0
|
|
270
|
+
flake8-deprecated>=2.2.1
|
|
263
271
|
"""
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: annotate
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.20
|
|
4
4
|
Summary: Decorator to set a function's __annotations__ like Py3.
|
|
5
5
|
Author: Adam Karpierz
|
|
6
6
|
Author-email: adam@karpierz.net
|
|
7
7
|
Maintainer: Adam Karpierz
|
|
8
8
|
Maintainer-email: adam@karpierz.net
|
|
9
|
-
License: zlib/libpng License ; https://opensource.org/
|
|
9
|
+
License: zlib/libpng License ; https://opensource.org/license/zlib
|
|
10
10
|
Project-URL: Homepage, https://pypi.org/project/annotate/
|
|
11
11
|
Project-URL: Documentation, https://annotate2.readthedocs.io/
|
|
12
12
|
Project-URL: Download, https://pypi.org/project/annotate/
|
|
@@ -21,21 +21,33 @@ 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.7
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.8
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.9
|
|
27
26
|
Classifier: Programming Language :: Python :: 3.10
|
|
28
27
|
Classifier: Programming Language :: Python :: 3.11
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
29
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
29
30
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
30
31
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
31
32
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
32
|
-
Classifier: Programming Language :: Python :: Implementation :: Stackless
|
|
33
33
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
34
|
-
Requires-Python: <4.0.0,>=3.
|
|
34
|
+
Requires-Python: <4.0.0,>=3.8.10
|
|
35
35
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
36
|
+
License-File: LICENSE
|
|
37
|
+
Requires-Dist: setuptools>=72.2.0
|
|
38
|
+
Requires-Dist: pkg-about>=1.1.8
|
|
36
39
|
Provides-Extra: doc
|
|
40
|
+
Requires-Dist: Sphinx>=7.1.2; extra == "doc"
|
|
41
|
+
Requires-Dist: sphinx-toolbox>=3.7.0; extra == "doc"
|
|
42
|
+
Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
|
|
43
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
|
|
44
|
+
Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
|
|
45
|
+
Requires-Dist: sphinx-lint>=0.9.1; extra == "doc"
|
|
46
|
+
Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
47
|
+
Requires-Dist: nbsphinx>=0.9.4; extra == "doc"
|
|
37
48
|
Provides-Extra: test
|
|
38
|
-
|
|
49
|
+
Requires-Dist: deepdiff>=7.0.1; extra == "test"
|
|
50
|
+
Requires-Dist: rich>=13.7.1; extra == "test"
|
|
39
51
|
|
|
40
52
|
annotate
|
|
41
53
|
========
|
|
@@ -206,10 +218,9 @@ Installation
|
|
|
206
218
|
|
|
207
219
|
Prerequisites:
|
|
208
220
|
|
|
209
|
-
+ Python 3.
|
|
221
|
+
+ Python 3.8 or higher
|
|
210
222
|
|
|
211
223
|
* https://www.python.org/
|
|
212
|
-
* 3.7 is a primary test environment.
|
|
213
224
|
|
|
214
225
|
+ pip and setuptools
|
|
215
226
|
|
|
@@ -231,7 +242,7 @@ Prerequisites:
|
|
|
231
242
|
|
|
232
243
|
python -m pip install --upgrade tox
|
|
233
244
|
|
|
234
|
-
Visit `
|
|
245
|
+
Visit `Development page`_.
|
|
235
246
|
|
|
236
247
|
Installation from sources:
|
|
237
248
|
|
|
@@ -256,9 +267,9 @@ or on development mode:
|
|
|
256
267
|
License
|
|
257
268
|
=======
|
|
258
269
|
|
|
259
|
-
| Copyright (c) 2012-
|
|
270
|
+
| Copyright (c) 2012-2024 Adam Karpierz
|
|
260
271
|
| Licensed under the zlib/libpng License
|
|
261
|
-
| https://opensource.org/
|
|
272
|
+
| https://opensource.org/license/zlib
|
|
262
273
|
| Please refer to the accompanying LICENSE file.
|
|
263
274
|
|
|
264
275
|
Authors
|
|
@@ -269,14 +280,20 @@ Authors
|
|
|
269
280
|
.. |package| replace:: annotate
|
|
270
281
|
.. |package_bold| replace:: **annotate**
|
|
271
282
|
.. |respository| replace:: https://github.com/karpierz/annotate.git
|
|
272
|
-
..
|
|
283
|
+
.. _Development page: https://github.com/karpierz/annotate
|
|
273
284
|
.. _PyPI record: https://pypi.org/project/annotate/
|
|
274
285
|
.. _Documentation: https://annotate.readthedocs.io/
|
|
275
286
|
|
|
276
287
|
Changelog
|
|
277
288
|
=========
|
|
278
289
|
|
|
279
|
-
1.
|
|
290
|
+
1.0.20 (2024-08-13)
|
|
291
|
+
-------------------
|
|
292
|
+
- Add support for Python 3.12 and 3.13
|
|
293
|
+
- Drop support for Python 3.7
|
|
294
|
+
- Setup (dependencies) update.
|
|
295
|
+
|
|
296
|
+
1.0.19 (2022-10-18)
|
|
280
297
|
-------------------
|
|
281
298
|
- Tox configuration has been moved to pyproject.toml
|
|
282
299
|
|
|
@@ -291,7 +308,7 @@ Changelog
|
|
|
291
308
|
|
|
292
309
|
1.0.16 (2022-01-10)
|
|
293
310
|
-------------------
|
|
294
|
-
- Drop support for Python 2, 3.5 and 3.6
|
|
311
|
+
- Drop support for Python 2, 3.5 and 3.6
|
|
295
312
|
- Copyright year update.
|
|
296
313
|
- Setup update.
|
|
297
314
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
setuptools>=72.2.0
|
|
2
|
+
pkg-about>=1.1.8
|
|
3
|
+
|
|
4
|
+
[doc]
|
|
5
|
+
Sphinx>=7.1.2
|
|
6
|
+
sphinx-toolbox>=3.7.0
|
|
7
|
+
sphinx-tabs>=3.4.5
|
|
8
|
+
sphinx-copybutton>=0.5.2
|
|
9
|
+
sphinxcontrib-spelling>=8.0.0
|
|
10
|
+
sphinx-lint>=0.9.1
|
|
11
|
+
restructuredtext-lint>=1.4.0
|
|
12
|
+
nbsphinx>=0.9.4
|
|
13
|
+
|
|
14
|
+
[test]
|
|
15
|
+
deepdiff>=7.0.1
|
|
16
|
+
rich>=13.7.1
|
annotate-1.0.19/.readthedocs.yml
DELETED
annotate-1.0.19/setup.cfg
DELETED
|
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
|