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