Persistence 5.2__tar.gz → 5.5__tar.gz

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.
Files changed (36) hide show
  1. {persistence-5.2 → persistence-5.5}/.manylinux-install.sh +2 -2
  2. {persistence-5.2 → persistence-5.5}/.manylinux.sh +2 -2
  3. {persistence-5.2 → persistence-5.5}/.pre-commit-config.yaml +5 -4
  4. {persistence-5.2 → persistence-5.5}/CHANGES.rst +30 -2
  5. {persistence-5.2 → persistence-5.5}/CONTRIBUTING.md +2 -2
  6. {persistence-5.2 → persistence-5.5}/MANIFEST.in +2 -2
  7. {persistence-5.2 → persistence-5.5}/PKG-INFO +41 -23
  8. persistence-5.5/pyproject.toml +92 -0
  9. {persistence-5.2 → persistence-5.5}/setup.cfg +0 -3
  10. persistence-5.5/setup.py +21 -0
  11. {persistence-5.2 → persistence-5.5}/src/Persistence.egg-info/PKG-INFO +41 -23
  12. {persistence-5.2 → persistence-5.5}/src/Persistence.egg-info/SOURCES.txt +0 -1
  13. persistence-5.5/src/Persistence.egg-info/requires.txt +5 -0
  14. {persistence-5.2 → persistence-5.5}/tox.ini +4 -4
  15. persistence-5.2/pyproject.toml +0 -41
  16. persistence-5.2/setup.py +0 -67
  17. persistence-5.2/src/Persistence.egg-info/not-zip-safe +0 -1
  18. persistence-5.2/src/Persistence.egg-info/requires.txt +0 -5
  19. {persistence-5.2 → persistence-5.5}/COPYRIGHT.txt +0 -0
  20. {persistence-5.2 → persistence-5.5}/LICENSE.txt +0 -0
  21. {persistence-5.2 → persistence-5.5}/README.rst +0 -0
  22. {persistence-5.2 → persistence-5.5}/buildout.cfg +0 -0
  23. {persistence-5.2 → persistence-5.5}/include/ExtensionClass/ExtensionClass.h +0 -0
  24. {persistence-5.2 → persistence-5.5}/include/ExtensionClass/_compat.h +0 -0
  25. {persistence-5.2 → persistence-5.5}/include/persistent/_compat.h +0 -0
  26. {persistence-5.2 → persistence-5.5}/include/persistent/cPersistence.h +0 -0
  27. {persistence-5.2 → persistence-5.5}/include/persistent/ring.h +0 -0
  28. {persistence-5.2 → persistence-5.5}/src/Persistence/_Persistence.c +0 -0
  29. {persistence-5.2 → persistence-5.5}/src/Persistence/__init__.py +0 -0
  30. {persistence-5.2 → persistence-5.5}/src/Persistence/mapping.py +0 -0
  31. {persistence-5.2 → persistence-5.5}/src/Persistence/tests/__init__.py +0 -0
  32. {persistence-5.2 → persistence-5.5}/src/Persistence/tests/test_ec.py +0 -0
  33. {persistence-5.2 → persistence-5.5}/src/Persistence/tests/test_mapping.py +0 -0
  34. {persistence-5.2 → persistence-5.5}/src/Persistence/tests/test_persistent.py +0 -0
  35. {persistence-5.2 → persistence-5.5}/src/Persistence.egg-info/dependency_links.txt +0 -0
  36. {persistence-5.2 → persistence-5.5}/src/Persistence.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
2
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
4
4
 
5
5
  set -e -x
6
6
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
2
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
4
4
 
5
5
  set -e -x
6
6
 
@@ -1,9 +1,9 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
3
3
  minimum_pre_commit_version: '3.6'
4
4
  repos:
5
5
  - repo: https://github.com/pycqa/isort
6
- rev: "7.0.0"
6
+ rev: "8.0.1"
7
7
  hooks:
8
8
  - id: isort
9
9
  - repo: https://github.com/hhatto/autopep8
@@ -12,7 +12,7 @@ repos:
12
12
  - id: autopep8
13
13
  args: [--in-place, --aggressive, --aggressive]
14
14
  - repo: https://github.com/asottile/pyupgrade
15
- rev: v3.21.0
15
+ rev: v3.21.2
16
16
  hooks:
17
17
  - id: pyupgrade
18
18
  args: [--py310-plus]
@@ -20,6 +20,7 @@ repos:
20
20
  rev: 0.4.3
21
21
  hooks:
22
22
  - id: teyit
23
+ language_version: python3.13
23
24
  - repo: https://github.com/PyCQA/flake8
24
25
  rev: "7.3.0"
25
26
  hooks:
@@ -1,5 +1,28 @@
1
- Changelog
2
- =========
1
+ Change log
2
+ ==========
3
+
4
+ 5.5 (2026-08-20)
5
+ ----------------
6
+
7
+ - Add support for Python 3.15.
8
+
9
+ - Add support for automatically building and publishing Windows/ARM64 wheels.
10
+
11
+ - Add support for automatically building and publishing source distributions.
12
+
13
+
14
+ 5.4 (2025-11-16)
15
+ ----------------
16
+
17
+ - Move all supported package metadata into ``pyproject.toml``.
18
+
19
+
20
+ 5.3 (2025-11-15)
21
+ ----------------
22
+
23
+ - Fix the GitHub workflow for publishing wheels, which failed for Linux/arm64.
24
+ (`#348 <https://github.com/zopefoundation/zope.interface/issues/348>`_)
25
+
3
26
 
4
27
  5.2 (2025-11-06)
5
28
  ----------------
@@ -114,21 +137,25 @@ Changes since 2.13.2:
114
137
 
115
138
  - Add AppVeyor configuration to automate building Windows eggs.
116
139
 
140
+
117
141
  2.13.2 (2010-06-16)
118
142
  -------------------
119
143
 
120
144
  - LP #587760: Handle tp_basicsize correctly.
121
145
 
146
+
122
147
  2.13.1 (2010-04-30)
123
148
  -------------------
124
149
 
125
150
  - Removed undeclared testing dependency on zope.testing.
126
151
 
152
+
127
153
  2.13.0 (2010-02-23)
128
154
  -------------------
129
155
 
130
156
  - Update to include ExtensionClass 2.13.0.
131
157
 
158
+
132
159
  2.12.0 (2010-02-14)
133
160
  -------------------
134
161
 
@@ -139,6 +166,7 @@ Changes since 2.13.2:
139
166
 
140
167
  - Updated package metadata and remove old build artifacts.
141
168
 
169
+
142
170
  2.11.1 (2009-02-19)
143
171
  -------------------
144
172
 
@@ -1,6 +1,6 @@
1
1
  <!--
2
- Generated from:
3
- https://github.com/zopefoundation/meta/tree/master/config/c-code
2
+ Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
4
4
  -->
5
5
  # Contributing to zopefoundation projects
6
6
 
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
3
3
  include *.md
4
4
  include *.rst
5
5
  include *.txt
@@ -1,46 +1,37 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Persistence
3
- Version: 5.2
3
+ Version: 5.5
4
4
  Summary: Persistent ExtensionClass
5
- Home-page: https://github.com/zopefoundation/Persistence
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL-2.1
5
+ Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
6
+ Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
7
+ License-Expression: ZPL-2.1
8
+ Project-URL: Issues, https://github.com/zopefoundation/Persistence/issues
9
+ Project-URL: Source, https://github.com/zopefoundation/Persistence
10
+ Project-URL: Changelog, https://github.com/zopefoundation/Persistence/blob/master/CHANGES.rst
9
11
  Classifier: Development Status :: 6 - Mature
10
12
  Classifier: Environment :: Web Environment
11
13
  Classifier: Framework :: Zope
12
- Classifier: Framework :: Zope :: 4
13
14
  Classifier: Framework :: Zope :: 5
14
- Classifier: License :: OSI Approved :: Zope Public License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python
17
17
  Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
18
19
  Classifier: Programming Language :: Python :: 3.10
19
20
  Classifier: Programming Language :: Python :: 3.11
20
21
  Classifier: Programming Language :: Python :: 3.12
21
22
  Classifier: Programming Language :: Python :: 3.13
22
23
  Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Programming Language :: Python :: 3.15
23
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
24
26
  Classifier: Programming Language :: Python :: Implementation :: PyPy
25
27
  Requires-Python: >=3.10
26
28
  Description-Content-Type: text/x-rst
27
29
  License-File: LICENSE.txt
28
- Requires-Dist: ExtensionClass>=4.6
29
- Requires-Dist: persistent>=4.1.1
30
+ Requires-Dist: ExtensionClass
31
+ Requires-Dist: persistent
30
32
  Provides-Extra: test
31
- Requires-Dist: zope.testrunner; extra == "test"
32
- Dynamic: author
33
- Dynamic: author-email
34
- Dynamic: classifier
35
- Dynamic: description
36
- Dynamic: description-content-type
37
- Dynamic: home-page
38
- Dynamic: license
33
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
39
34
  Dynamic: license-file
40
- Dynamic: provides-extra
41
- Dynamic: requires-dist
42
- Dynamic: requires-python
43
- Dynamic: summary
44
35
 
45
36
  Overview
46
37
  ========
@@ -52,9 +43,31 @@ use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZOD
52
43
  .. _ExtensionClass : https://pypi.org/project/ExtensionClass/
53
44
  .. _persistent : https://pypi.org/project/persistent/
54
45
 
46
+ Change log
47
+ ==========
48
+
49
+ 5.5 (2026-08-20)
50
+ ----------------
51
+
52
+ - Add support for Python 3.15.
53
+
54
+ - Add support for automatically building and publishing Windows/ARM64 wheels.
55
+
56
+ - Add support for automatically building and publishing source distributions.
57
+
58
+
59
+ 5.4 (2025-11-16)
60
+ ----------------
61
+
62
+ - Move all supported package metadata into ``pyproject.toml``.
63
+
64
+
65
+ 5.3 (2025-11-15)
66
+ ----------------
67
+
68
+ - Fix the GitHub workflow for publishing wheels, which failed for Linux/arm64.
69
+ (`#348 <https://github.com/zopefoundation/zope.interface/issues/348>`_)
55
70
 
56
- Changelog
57
- =========
58
71
 
59
72
  5.2 (2025-11-06)
60
73
  ----------------
@@ -169,21 +182,25 @@ Changes since 2.13.2:
169
182
 
170
183
  - Add AppVeyor configuration to automate building Windows eggs.
171
184
 
185
+
172
186
  2.13.2 (2010-06-16)
173
187
  -------------------
174
188
 
175
189
  - LP #587760: Handle tp_basicsize correctly.
176
190
 
191
+
177
192
  2.13.1 (2010-04-30)
178
193
  -------------------
179
194
 
180
195
  - Removed undeclared testing dependency on zope.testing.
181
196
 
197
+
182
198
  2.13.0 (2010-02-23)
183
199
  -------------------
184
200
 
185
201
  - Update to include ExtensionClass 2.13.0.
186
202
 
203
+
187
204
  2.12.0 (2010-02-14)
188
205
  -------------------
189
206
 
@@ -194,6 +211,7 @@ Changes since 2.13.2:
194
211
 
195
212
  - Updated package metadata and remove old build artifacts.
196
213
 
214
+
197
215
  2.11.1 (2009-02-19)
198
216
  -------------------
199
217
 
@@ -0,0 +1,92 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
3
+ [build-system]
4
+ requires = [
5
+ "setuptools",
6
+ "wheel",
7
+ ]
8
+ build-backend = "setuptools.build_meta"
9
+
10
+ [project]
11
+ name = "Persistence"
12
+ version = "5.5"
13
+ description = "Persistent ExtensionClass"
14
+ dynamic = ["readme"]
15
+ requires-python = ">=3.10"
16
+ license = "ZPL-2.1"
17
+ authors = [
18
+ { name = "Zope Foundation and contributors", email = "zope-dev@zope.dev" },
19
+ ]
20
+ maintainers = [
21
+ { name = "Plone Foundation and contributors", email = "zope-dev@zope.dev" },
22
+ ]
23
+ classifiers = [
24
+ "Development Status :: 6 - Mature",
25
+ "Environment :: Web Environment",
26
+ "Framework :: Zope",
27
+ "Framework :: Zope :: 5",
28
+ "Operating System :: OS Independent",
29
+ "Programming Language :: Python",
30
+ "Programming Language :: Python :: 3",
31
+ "Programming Language :: Python :: 3 :: Only",
32
+ "Programming Language :: Python :: 3.10",
33
+ "Programming Language :: Python :: 3.11",
34
+ "Programming Language :: Python :: 3.12",
35
+ "Programming Language :: Python :: 3.13",
36
+ "Programming Language :: Python :: 3.14",
37
+ "Programming Language :: Python :: 3.15",
38
+ "Programming Language :: Python :: Implementation :: CPython",
39
+ "Programming Language :: Python :: Implementation :: PyPy",
40
+ ]
41
+ dependencies = [
42
+ "ExtensionClass",
43
+ "persistent",
44
+ ]
45
+
46
+ [project.optional-dependencies]
47
+ test = ["zope.testrunner >= 6.4"]
48
+
49
+ [project.urls]
50
+ Issues = "https://github.com/zopefoundation/Persistence/issues"
51
+ Source = "https://github.com/zopefoundation/Persistence"
52
+ Changelog = "https://github.com/zopefoundation/Persistence/blob/master/CHANGES.rst"
53
+
54
+ [tool.coverage.run]
55
+ branch = true
56
+ source = ["Persistence"]
57
+ relative_files = true
58
+
59
+ [tool.coverage.report]
60
+ fail_under = 97
61
+ precision = 2
62
+ ignore_errors = true
63
+ show_missing = true
64
+ exclude_lines = [
65
+ "pragma: no cover",
66
+ "pragma: nocover",
67
+ "except ImportError:",
68
+ "raise NotImplementedError",
69
+ "if __name__ == '__main__':",
70
+ "self.fail",
71
+ "raise AssertionError",
72
+ "raise unittest.Skip",
73
+ ]
74
+
75
+ [tool.coverage.html]
76
+ directory = "parts/htmlcov"
77
+
78
+ [tool.coverage.paths]
79
+ source = [
80
+ "src/",
81
+ ".tox/*/lib/python*/site-packages/",
82
+ ".tox/pypy*/site-packages/",
83
+ ]
84
+
85
+ [tool.setuptools.dynamic]
86
+ readme = {file = ["README.rst", "CHANGES.rst"]}
87
+
88
+
89
+ [tool.zest-releaser]
90
+ create-wheel = false
91
+ extra-message = ""
92
+ upload-pypi = false
@@ -1,6 +1,3 @@
1
- [zest.releaser]
2
- create-wheel = no
3
-
4
1
  [flake8]
5
2
  doctests = 1
6
3
 
@@ -0,0 +1,21 @@
1
+ import os
2
+ import platform
3
+
4
+ from setuptools import Extension
5
+ from setuptools import setup
6
+
7
+
8
+ # PyPy won't build the extension
9
+ py_impl = getattr(platform, 'python_implementation', lambda: None)
10
+ is_pypy = py_impl() == 'PyPy'
11
+ if is_pypy:
12
+ ext_modules = []
13
+ else:
14
+ ext_modules = [
15
+ Extension("Persistence._Persistence",
16
+ [os.path.join('src', 'Persistence', '_Persistence.c')],
17
+ include_dirs=['include', 'src']),
18
+ ]
19
+
20
+
21
+ setup(ext_modules=ext_modules)
@@ -1,46 +1,37 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Persistence
3
- Version: 5.2
3
+ Version: 5.5
4
4
  Summary: Persistent ExtensionClass
5
- Home-page: https://github.com/zopefoundation/Persistence
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL-2.1
5
+ Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
6
+ Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
7
+ License-Expression: ZPL-2.1
8
+ Project-URL: Issues, https://github.com/zopefoundation/Persistence/issues
9
+ Project-URL: Source, https://github.com/zopefoundation/Persistence
10
+ Project-URL: Changelog, https://github.com/zopefoundation/Persistence/blob/master/CHANGES.rst
9
11
  Classifier: Development Status :: 6 - Mature
10
12
  Classifier: Environment :: Web Environment
11
13
  Classifier: Framework :: Zope
12
- Classifier: Framework :: Zope :: 4
13
14
  Classifier: Framework :: Zope :: 5
14
- Classifier: License :: OSI Approved :: Zope Public License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python
17
17
  Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
18
19
  Classifier: Programming Language :: Python :: 3.10
19
20
  Classifier: Programming Language :: Python :: 3.11
20
21
  Classifier: Programming Language :: Python :: 3.12
21
22
  Classifier: Programming Language :: Python :: 3.13
22
23
  Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Programming Language :: Python :: 3.15
23
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
24
26
  Classifier: Programming Language :: Python :: Implementation :: PyPy
25
27
  Requires-Python: >=3.10
26
28
  Description-Content-Type: text/x-rst
27
29
  License-File: LICENSE.txt
28
- Requires-Dist: ExtensionClass>=4.6
29
- Requires-Dist: persistent>=4.1.1
30
+ Requires-Dist: ExtensionClass
31
+ Requires-Dist: persistent
30
32
  Provides-Extra: test
31
- Requires-Dist: zope.testrunner; extra == "test"
32
- Dynamic: author
33
- Dynamic: author-email
34
- Dynamic: classifier
35
- Dynamic: description
36
- Dynamic: description-content-type
37
- Dynamic: home-page
38
- Dynamic: license
33
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
39
34
  Dynamic: license-file
40
- Dynamic: provides-extra
41
- Dynamic: requires-dist
42
- Dynamic: requires-python
43
- Dynamic: summary
44
35
 
45
36
  Overview
46
37
  ========
@@ -52,9 +43,31 @@ use ``persistent.Persistent`` from the persistent_ distribution (formerly in ZOD
52
43
  .. _ExtensionClass : https://pypi.org/project/ExtensionClass/
53
44
  .. _persistent : https://pypi.org/project/persistent/
54
45
 
46
+ Change log
47
+ ==========
48
+
49
+ 5.5 (2026-08-20)
50
+ ----------------
51
+
52
+ - Add support for Python 3.15.
53
+
54
+ - Add support for automatically building and publishing Windows/ARM64 wheels.
55
+
56
+ - Add support for automatically building and publishing source distributions.
57
+
58
+
59
+ 5.4 (2025-11-16)
60
+ ----------------
61
+
62
+ - Move all supported package metadata into ``pyproject.toml``.
63
+
64
+
65
+ 5.3 (2025-11-15)
66
+ ----------------
67
+
68
+ - Fix the GitHub workflow for publishing wheels, which failed for Linux/arm64.
69
+ (`#348 <https://github.com/zopefoundation/zope.interface/issues/348>`_)
55
70
 
56
- Changelog
57
- =========
58
71
 
59
72
  5.2 (2025-11-06)
60
73
  ----------------
@@ -169,21 +182,25 @@ Changes since 2.13.2:
169
182
 
170
183
  - Add AppVeyor configuration to automate building Windows eggs.
171
184
 
185
+
172
186
  2.13.2 (2010-06-16)
173
187
  -------------------
174
188
 
175
189
  - LP #587760: Handle tp_basicsize correctly.
176
190
 
191
+
177
192
  2.13.1 (2010-04-30)
178
193
  -------------------
179
194
 
180
195
  - Removed undeclared testing dependency on zope.testing.
181
196
 
197
+
182
198
  2.13.0 (2010-02-23)
183
199
  -------------------
184
200
 
185
201
  - Update to include ExtensionClass 2.13.0.
186
202
 
203
+
187
204
  2.12.0 (2010-02-14)
188
205
  -------------------
189
206
 
@@ -194,6 +211,7 @@ Changes since 2.13.2:
194
211
 
195
212
  - Updated package metadata and remove old build artifacts.
196
213
 
214
+
197
215
  2.11.1 (2009-02-19)
198
216
  -------------------
199
217
 
@@ -23,7 +23,6 @@ src/Persistence/mapping.py
23
23
  src/Persistence.egg-info/PKG-INFO
24
24
  src/Persistence.egg-info/SOURCES.txt
25
25
  src/Persistence.egg-info/dependency_links.txt
26
- src/Persistence.egg-info/not-zip-safe
27
26
  src/Persistence.egg-info/requires.txt
28
27
  src/Persistence.egg-info/top_level.txt
29
28
  src/Persistence/tests/__init__.py
@@ -0,0 +1,5 @@
1
+ ExtensionClass
2
+ persistent
3
+
4
+ [test]
5
+ zope.testrunner>=6.4
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
3
3
  [tox]
4
4
  minversion = 4.0
5
5
  envlist =
@@ -17,7 +17,7 @@ envlist =
17
17
  [testenv]
18
18
  pip_pre = py315: true
19
19
  deps =
20
- setuptools >= 78.1.1,< 81
20
+ setuptools >= 78.1.1,< 82
21
21
  wheel
22
22
  setenv =
23
23
  pure: PURE_PYTHON=1
@@ -59,7 +59,7 @@ deps =
59
59
  twine
60
60
  build
61
61
  check-manifest
62
- check-python-versions >= 0.20.0
62
+ check-python-versions >= 0.24.2
63
63
  wheel
64
64
  commands_pre =
65
65
  commands =
@@ -1,41 +0,0 @@
1
- #
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/c-code
4
-
5
- [build-system]
6
- requires = [
7
- "setuptools",
8
- "wheel",
9
- ]
10
- build-backend = "setuptools.build_meta"
11
-
12
- [tool.coverage.run]
13
- branch = true
14
- source = ["Persistence"]
15
- relative_files = true
16
-
17
- [tool.coverage.report]
18
- fail_under = 97
19
- precision = 2
20
- ignore_errors = true
21
- show_missing = true
22
- exclude_lines = [
23
- "pragma: no cover",
24
- "pragma: nocover",
25
- "except ImportError:",
26
- "raise NotImplementedError",
27
- "if __name__ == '__main__':",
28
- "self.fail",
29
- "raise AssertionError",
30
- "raise unittest.Skip",
31
- ]
32
-
33
- [tool.coverage.html]
34
- directory = "parts/htmlcov"
35
-
36
- [tool.coverage.paths]
37
- source = [
38
- "src/",
39
- ".tox/*/lib/python*/site-packages/",
40
- ".tox/pypy*/site-packages/",
41
- ]
persistence-5.2/setup.py DELETED
@@ -1,67 +0,0 @@
1
- import os
2
- import platform
3
-
4
- from setuptools import Extension
5
- from setuptools import find_packages
6
- from setuptools import setup
7
-
8
-
9
- README = open('README.rst').read()
10
- CHANGES = open('CHANGES.rst').read()
11
-
12
- # PyPy won't build the extension
13
- py_impl = getattr(platform, 'python_implementation', lambda: None)
14
- is_pypy = py_impl() == 'PyPy'
15
- if is_pypy:
16
- ext_modules = []
17
- else:
18
- ext_modules = [
19
- Extension("Persistence._Persistence",
20
- [os.path.join('src', 'Persistence', '_Persistence.c')],
21
- include_dirs=['include', 'src']),
22
- ]
23
-
24
- version = '5.2'
25
-
26
- setup(
27
- name='Persistence',
28
- version=version,
29
- url='https://github.com/zopefoundation/Persistence',
30
- license='ZPL-2.1',
31
- description='Persistent ExtensionClass',
32
- author='Zope Foundation and Contributors',
33
- author_email='zope-dev@zope.dev',
34
- long_description='\n\n'.join([README, CHANGES]),
35
- long_description_content_type='text/x-rst',
36
- packages=find_packages('src'),
37
- package_dir={'': 'src'},
38
- classifiers=[
39
- "Development Status :: 6 - Mature",
40
- "Environment :: Web Environment",
41
- "Framework :: Zope",
42
- "Framework :: Zope :: 4",
43
- "Framework :: Zope :: 5",
44
- "License :: OSI Approved :: Zope Public License",
45
- "Operating System :: OS Independent",
46
- "Programming Language :: Python",
47
- "Programming Language :: Python :: 3",
48
- "Programming Language :: Python :: 3.10",
49
- "Programming Language :: Python :: 3.11",
50
- "Programming Language :: Python :: 3.12",
51
- "Programming Language :: Python :: 3.13",
52
- "Programming Language :: Python :: 3.14",
53
- "Programming Language :: Python :: Implementation :: CPython",
54
- "Programming Language :: Python :: Implementation :: PyPy",
55
- ],
56
- ext_modules=ext_modules,
57
- python_requires='>=3.10',
58
- install_requires=[
59
- 'ExtensionClass >= 4.6',
60
- 'persistent >= 4.1.1',
61
- ],
62
- extras_require={
63
- 'test': ['zope.testrunner'],
64
- },
65
- include_package_data=True,
66
- zip_safe=False,
67
- )
@@ -1,5 +0,0 @@
1
- ExtensionClass>=4.6
2
- persistent>=4.1.1
3
-
4
- [test]
5
- zope.testrunner
File without changes
File without changes
File without changes
File without changes