zope.processlifetime 3.1__tar.gz → 4.1__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 (34) hide show
  1. zope_processlifetime-4.1/.pre-commit-config.yaml +42 -0
  2. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/.readthedocs.yaml +2 -2
  3. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/CHANGES.rst +20 -0
  4. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/CONTRIBUTING.md +2 -2
  5. zope_processlifetime-4.1/COPYRIGHT.txt +1 -0
  6. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/MANIFEST.in +2 -2
  7. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/PKG-INFO +36 -14
  8. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/buildout.cfg +1 -5
  9. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/docs/conf.py +4 -8
  10. zope_processlifetime-4.1/pyproject.toml +89 -0
  11. zope_processlifetime-4.1/setup.py +20 -0
  12. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/src/zope.processlifetime.egg-info/PKG-INFO +36 -14
  13. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/src/zope.processlifetime.egg-info/SOURCES.txt +0 -3
  14. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/src/zope.processlifetime.egg-info/requires.txt +1 -2
  15. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/tox.ini +9 -8
  16. zope_processlifetime-3.1/.pre-commit-config.yaml +0 -28
  17. zope_processlifetime-3.1/COPYRIGHT.txt +0 -1
  18. zope_processlifetime-3.1/pyproject.toml +0 -21
  19. zope_processlifetime-3.1/setup.py +0 -77
  20. zope_processlifetime-3.1/src/zope/__init__.py +0 -1
  21. zope_processlifetime-3.1/src/zope.processlifetime.egg-info/namespace_packages.txt +0 -1
  22. zope_processlifetime-3.1/src/zope.processlifetime.egg-info/not-zip-safe +0 -1
  23. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/LICENSE.txt +0 -0
  24. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/README.rst +0 -0
  25. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/docs/Makefile +0 -0
  26. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/docs/changelog.rst +0 -0
  27. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/docs/index.rst +0 -0
  28. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/docs/requirements.txt +0 -0
  29. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/docs-requirements.txt +0 -0
  30. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/setup.cfg +0 -0
  31. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/src/zope/processlifetime/__init__.py +0 -0
  32. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/src/zope/processlifetime/tests.py +0 -0
  33. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/src/zope.processlifetime.egg-info/dependency_links.txt +0 -0
  34. {zope_processlifetime-3.1 → zope_processlifetime-4.1}/src/zope.processlifetime.egg-info/top_level.txt +0 -0
@@ -0,0 +1,42 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
+ minimum_pre_commit_version: '3.6'
4
+ repos:
5
+ - repo: https://github.com/pre-commit/pre-commit-hooks
6
+ rev: v6.0.0
7
+ hooks:
8
+ - id: check-case-conflict
9
+ - id: check-merge-conflict
10
+ - id: check-toml
11
+ - id: check-yaml
12
+ - id: end-of-file-fixer
13
+ - id: trailing-whitespace
14
+ - repo: https://github.com/pycqa/isort
15
+ rev: "8.0.1"
16
+ hooks:
17
+ - id: isort
18
+ - repo: https://github.com/hhatto/autopep8
19
+ rev: "v2.3.2"
20
+ hooks:
21
+ - id: autopep8
22
+ args: [--in-place, --aggressive, --aggressive]
23
+ - repo: https://github.com/asottile/pyupgrade
24
+ rev: v3.21.2
25
+ hooks:
26
+ - id: pyupgrade
27
+ args: [--py311-plus]
28
+ - repo: https://github.com/isidentical/teyit
29
+ rev: 0.4.3
30
+ hooks:
31
+ - id: teyit
32
+ language_version: python3.13
33
+ - repo: https://github.com/PyCQA/flake8
34
+ rev: "7.3.0"
35
+ hooks:
36
+ - id: flake8
37
+ additional_dependencies:
38
+ - flake8-debugger == 4.1.2
39
+ - repo: https://github.com/sphinx-contrib/sphinx-lint
40
+ rev: v1.0.2
41
+ hooks:
42
+ - id: sphinx-lint
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  # Read the Docs configuration file
4
4
  # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
5
5
 
@@ -2,6 +2,26 @@
2
2
  Changes
3
3
  =========
4
4
 
5
+ 4.1 (2026-11-05)
6
+ ================
7
+
8
+ - Add support for Python 3.15.
9
+
10
+ - Add support for Python 3.14.
11
+
12
+ - Drop support for Python 3.10.
13
+
14
+ - Drop support for Python 3.9.
15
+
16
+ - Move package metadata from setup.py to pyproject.toml.
17
+
18
+
19
+ 4.0 (2025-09-12)
20
+ ================
21
+
22
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
23
+
24
+
5
25
  3.1 (2025-02-14)
6
26
  ================
7
27
 
@@ -1,6 +1,6 @@
1
1
  <!--
2
- Generated from:
3
- https://github.com/zopefoundation/meta/tree/master/config/pure-python
2
+ Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
4
4
  -->
5
5
  # Contributing to zopefoundation projects
6
6
 
@@ -0,0 +1 @@
1
+ Zope Foundation and Contributors
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  include *.md
4
4
  include *.rst
5
5
  include *.txt
@@ -1,23 +1,25 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.processlifetime
3
- Version: 3.1
3
+ Version: 4.1
4
4
  Summary: Zope process lifetime events
5
- Home-page: http://github.com/zopefoundation/zope.processlifetime
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL-2.1
9
- Keywords: zope process lifetime events
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: Documentation, https://zopeprocesslifetime.readthedocs.io/
9
+ Project-URL: Source, https://github.com/zopefoundation/zope.processlifetime
10
+ Project-URL: Issues, https://github.com/zopefoundation/zope.processlifetime/issues
11
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.processlifetime/master/CHANGES.rst
12
+ Keywords: zope,process,lifetime,events
10
13
  Classifier: Development Status :: 5 - Production/Stable
11
14
  Classifier: Environment :: Web Environment
12
15
  Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: Zope Public License
14
16
  Classifier: Programming Language :: Python
15
17
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.9
17
- Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
21
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
24
  Classifier: Programming Language :: Python :: Implementation :: PyPy
23
25
  Classifier: Natural Language :: English
@@ -25,15 +27,16 @@ Classifier: Operating System :: OS Independent
25
27
  Classifier: Topic :: Internet :: WWW/HTTP
26
28
  Classifier: Framework :: Zope :: 3
27
29
  Classifier: Framework :: Zope :: 5
28
- Requires-Python: >=3.9
30
+ Requires-Python: >=3.11
31
+ Description-Content-Type: text/x-rst
29
32
  License-File: LICENSE.txt
30
- Requires-Dist: setuptools
31
33
  Requires-Dist: zope.interface
32
34
  Provides-Extra: test
33
- Requires-Dist: zope.testrunner; extra == "test"
35
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
34
36
  Provides-Extra: docs
35
37
  Requires-Dist: Sphinx; extra == "docs"
36
38
  Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
39
+ Dynamic: license-file
37
40
 
38
41
  ==========================
39
42
  ``zope.processlifetime``
@@ -65,11 +68,30 @@ These events are usually used with `zope.event
65
68
 
66
69
  Documentation is hosted at https://zopeprocesslifetime.readthedocs.io/en/latest/
67
70
 
68
-
69
71
  =========
70
72
  Changes
71
73
  =========
72
74
 
75
+ 4.1 (2026-11-05)
76
+ ================
77
+
78
+ - Add support for Python 3.15.
79
+
80
+ - Add support for Python 3.14.
81
+
82
+ - Drop support for Python 3.10.
83
+
84
+ - Drop support for Python 3.9.
85
+
86
+ - Move package metadata from setup.py to pyproject.toml.
87
+
88
+
89
+ 4.0 (2025-09-12)
90
+ ================
91
+
92
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
93
+
94
+
73
95
  3.1 (2025-02-14)
74
96
  ================
75
97
 
@@ -1,6 +1,6 @@
1
1
  [buildout]
2
2
  develop = .
3
- parts = test python tags
3
+ parts = test python
4
4
 
5
5
  [test]
6
6
  recipe = zc.recipe.testrunner
@@ -10,7 +10,3 @@ eggs = zope.processlifetime
10
10
  recipe = zc.recipe.egg
11
11
  eggs = zope.processlifetime
12
12
  interpreter = python
13
-
14
- [tags]
15
- recipe = z3c.recipe.tag:tags
16
- eggs = zope.processlifetime
@@ -14,18 +14,14 @@
14
14
  # If extensions (or modules to document with autodoc) are in another directory,
15
15
  # add these directories to sys.path here. If the directory is relative to the
16
16
  # documentation root, use os.path.abspath to make it absolute, like shown here.
17
- #
18
- # import os
19
- # import sys
20
- # sys.path.insert(0, os.path.abspath('.'))
17
+ import datetime
18
+ import importlib.metadata
21
19
  import os
22
20
  import sys
23
21
 
24
- import pkg_resources
25
-
26
22
 
27
23
  sys.path.append(os.path.abspath('../src'))
28
- rqmt = pkg_resources.require('zope.processlifetime')[0]
24
+ rqmt = importlib.metadata.distribution('zope.processlifetime')
29
25
 
30
26
  # -- General configuration ------------------------------------------------
31
27
 
@@ -62,7 +58,7 @@ master_doc = 'index'
62
58
 
63
59
  # General information about the project.
64
60
  project = 'zope.processlifetime'
65
- copyright = '2017-2025, Zope Community'
61
+ copyright = f'2017-{datetime.datetime.now().year}, Zope Community'
66
62
  author = 'Zope Community'
67
63
 
68
64
  # The version info for the project you're documenting, acts as replacement for
@@ -0,0 +1,89 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
+ [build-system]
4
+ requires = [
5
+ "setuptools >= 78.1.1,< 82",
6
+ "wheel",
7
+ ]
8
+ build-backend = "setuptools.build_meta"
9
+
10
+ [project]
11
+ name = "zope.processlifetime"
12
+ version = "4.1"
13
+ description = "Zope process lifetime events"
14
+ license = "ZPL-2.1"
15
+ classifiers = [
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Environment :: Web Environment",
18
+ "Intended Audience :: Developers",
19
+ "Programming Language :: Python",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
25
+ "Programming Language :: Python :: 3.15",
26
+ "Programming Language :: Python :: Implementation :: CPython",
27
+ "Programming Language :: Python :: Implementation :: PyPy",
28
+ "Natural Language :: English",
29
+ "Operating System :: OS Independent",
30
+ "Topic :: Internet :: WWW/HTTP",
31
+ "Framework :: Zope :: 3",
32
+ "Framework :: Zope :: 5",
33
+ ]
34
+ dynamic = ["readme"]
35
+ requires-python = ">=3.11"
36
+ authors = [
37
+ {name = "Zope Foundation and contributors",email = "zope-dev@zope.dev"},
38
+ ]
39
+ maintainers = [
40
+ {name = "Plone Foundation and contributors",email = "zope-dev@zope.dev"},
41
+ ]
42
+ dependencies = [
43
+ "zope.interface",
44
+ ]
45
+ keywords = ["zope", "process", "lifetime", "events"]
46
+
47
+ [project.optional-dependencies]
48
+ test = ["zope.testrunner >= 6.4"]
49
+ docs = [
50
+ "Sphinx",
51
+ "repoze.sphinx.autointerface",
52
+ ]
53
+
54
+ [project.urls]
55
+ Documentation = "https://zopeprocesslifetime.readthedocs.io/"
56
+ Source = "https://github.com/zopefoundation/zope.processlifetime"
57
+ Issues = "https://github.com/zopefoundation/zope.processlifetime/issues"
58
+ Changelog = "https://raw.githubusercontent.com/zopefoundation/zope.processlifetime/master/CHANGES.rst"
59
+
60
+ [tool.coverage.run]
61
+ branch = true
62
+ source = ["zope.processlifetime"]
63
+
64
+ [tool.coverage.report]
65
+ fail_under = 100
66
+ precision = 2
67
+ ignore_errors = true
68
+ show_missing = true
69
+ exclude_lines = [
70
+ "pragma: no cover",
71
+ "pragma: nocover",
72
+ "except ImportError:",
73
+ "raise NotImplementedError",
74
+ "if __name__ == '__main__':",
75
+ "self.fail",
76
+ "raise AssertionError",
77
+ "raise unittest.Skip",
78
+ ]
79
+
80
+ [tool.coverage.html]
81
+ directory = "parts/htmlcov"
82
+
83
+ [tool.setuptools.dynamic]
84
+ readme = {file = ["README.rst", "CHANGES.rst"]}
85
+
86
+ [tool.zest-releaser]
87
+ create-wheel = false
88
+ extra-message = ""
89
+ upload-pypi = false
@@ -0,0 +1,20 @@
1
+ ##############################################################################
2
+ #
3
+ # Copyright (c) 2009 Zope Foundation and Contributors.
4
+ # All Rights Reserved.
5
+ #
6
+ # This software is subject to the provisions of the Zope Public License,
7
+ # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
8
+ # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
+ # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
+ # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
+ # FOR A PARTICULAR PURPOSE.
12
+ #
13
+ ##############################################################################
14
+ """Setup for zope.processlifetime package
15
+ """
16
+ from setuptools import setup
17
+
18
+
19
+ # See pyproject.toml for package metadata
20
+ setup()
@@ -1,23 +1,25 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.processlifetime
3
- Version: 3.1
3
+ Version: 4.1
4
4
  Summary: Zope process lifetime events
5
- Home-page: http://github.com/zopefoundation/zope.processlifetime
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL-2.1
9
- Keywords: zope process lifetime events
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: Documentation, https://zopeprocesslifetime.readthedocs.io/
9
+ Project-URL: Source, https://github.com/zopefoundation/zope.processlifetime
10
+ Project-URL: Issues, https://github.com/zopefoundation/zope.processlifetime/issues
11
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.processlifetime/master/CHANGES.rst
12
+ Keywords: zope,process,lifetime,events
10
13
  Classifier: Development Status :: 5 - Production/Stable
11
14
  Classifier: Environment :: Web Environment
12
15
  Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: Zope Public License
14
16
  Classifier: Programming Language :: Python
15
17
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.9
17
- Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
21
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
24
  Classifier: Programming Language :: Python :: Implementation :: PyPy
23
25
  Classifier: Natural Language :: English
@@ -25,15 +27,16 @@ Classifier: Operating System :: OS Independent
25
27
  Classifier: Topic :: Internet :: WWW/HTTP
26
28
  Classifier: Framework :: Zope :: 3
27
29
  Classifier: Framework :: Zope :: 5
28
- Requires-Python: >=3.9
30
+ Requires-Python: >=3.11
31
+ Description-Content-Type: text/x-rst
29
32
  License-File: LICENSE.txt
30
- Requires-Dist: setuptools
31
33
  Requires-Dist: zope.interface
32
34
  Provides-Extra: test
33
- Requires-Dist: zope.testrunner; extra == "test"
35
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
34
36
  Provides-Extra: docs
35
37
  Requires-Dist: Sphinx; extra == "docs"
36
38
  Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
39
+ Dynamic: license-file
37
40
 
38
41
  ==========================
39
42
  ``zope.processlifetime``
@@ -65,11 +68,30 @@ These events are usually used with `zope.event
65
68
 
66
69
  Documentation is hosted at https://zopeprocesslifetime.readthedocs.io/en/latest/
67
70
 
68
-
69
71
  =========
70
72
  Changes
71
73
  =========
72
74
 
75
+ 4.1 (2026-11-05)
76
+ ================
77
+
78
+ - Add support for Python 3.15.
79
+
80
+ - Add support for Python 3.14.
81
+
82
+ - Drop support for Python 3.10.
83
+
84
+ - Drop support for Python 3.9.
85
+
86
+ - Move package metadata from setup.py to pyproject.toml.
87
+
88
+
89
+ 4.0 (2025-09-12)
90
+ ================
91
+
92
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
93
+
94
+
73
95
  3.1 (2025-02-14)
74
96
  ================
75
97
 
@@ -17,12 +17,9 @@ docs/changelog.rst
17
17
  docs/conf.py
18
18
  docs/index.rst
19
19
  docs/requirements.txt
20
- src/zope/__init__.py
21
20
  src/zope.processlifetime.egg-info/PKG-INFO
22
21
  src/zope.processlifetime.egg-info/SOURCES.txt
23
22
  src/zope.processlifetime.egg-info/dependency_links.txt
24
- src/zope.processlifetime.egg-info/namespace_packages.txt
25
- src/zope.processlifetime.egg-info/not-zip-safe
26
23
  src/zope.processlifetime.egg-info/requires.txt
27
24
  src/zope.processlifetime.egg-info/top_level.txt
28
25
  src/zope/processlifetime/__init__.py
@@ -1,4 +1,3 @@
1
- setuptools
2
1
  zope.interface
3
2
 
4
3
  [docs]
@@ -6,4 +5,4 @@ Sphinx
6
5
  repoze.sphinx.autointerface
7
6
 
8
7
  [test]
9
- zope.testrunner
8
+ zope.testrunner>=6.4
@@ -1,15 +1,15 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  [tox]
4
4
  minversion = 3.18
5
5
  envlist =
6
6
  release-check
7
7
  lint
8
- py39
9
- py310
10
8
  py311
11
9
  py312
12
10
  py313
11
+ py314
12
+ py315
13
13
  pypy3
14
14
  docs
15
15
  coverage
@@ -19,7 +19,7 @@ usedevelop = true
19
19
  package = wheel
20
20
  wheel_build_env = .pkg
21
21
  deps =
22
- setuptools <= 75.6.0
22
+ setuptools >= 78.1.1,< 82
23
23
  commands =
24
24
  zope-testrunner --test-path=src {posargs:-vc}
25
25
  extras =
@@ -35,16 +35,17 @@ description = ensure that the distribution is ready to release
35
35
  basepython = python3
36
36
  skip_install = true
37
37
  deps =
38
- setuptools <= 75.6.0
38
+ setuptools >= 78.1.1,< 82
39
+ wheel
39
40
  twine
40
41
  build
41
42
  check-manifest
42
- check-python-versions >= 0.20.0
43
+ check-python-versions >= 0.24.2
43
44
  wheel
44
45
  commands_pre =
45
46
  commands =
46
47
  check-manifest
47
- check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
48
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
48
49
  python -m build --sdist --no-isolation
49
50
  twine check dist/*
50
51
 
@@ -1,28 +0,0 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
- minimum_pre_commit_version: '3.6'
4
- repos:
5
- - repo: https://github.com/pycqa/isort
6
- rev: "6.0.0"
7
- hooks:
8
- - id: isort
9
- - repo: https://github.com/hhatto/autopep8
10
- rev: "v2.3.2"
11
- hooks:
12
- - id: autopep8
13
- args: [--in-place, --aggressive, --aggressive]
14
- - repo: https://github.com/asottile/pyupgrade
15
- rev: v3.19.1
16
- hooks:
17
- - id: pyupgrade
18
- args: [--py39-plus]
19
- - repo: https://github.com/isidentical/teyit
20
- rev: 0.4.3
21
- hooks:
22
- - id: teyit
23
- - repo: https://github.com/PyCQA/flake8
24
- rev: "7.1.1"
25
- hooks:
26
- - id: flake8
27
- additional_dependencies:
28
- - flake8-debugger == 4.1.2
@@ -1 +0,0 @@
1
- Zope Foundation and Contributors
@@ -1,21 +0,0 @@
1
- #
2
- # Generated from:
3
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
-
5
- [build-system]
6
- requires = ["setuptools <= 75.6.0"]
7
- build-backend = "setuptools.build_meta"
8
-
9
- [tool.coverage.run]
10
- branch = true
11
- source = ["zope.processlifetime"]
12
-
13
- [tool.coverage.report]
14
- fail_under = 100
15
- precision = 2
16
- ignore_errors = true
17
- show_missing = true
18
- exclude_lines = ["pragma: no cover", "pragma: nocover", "except ImportError:", "raise NotImplementedError", "if __name__ == '__main__':", "self.fail", "raise AssertionError", "raise unittest.Skip"]
19
-
20
- [tool.coverage.html]
21
- directory = "parts/htmlcov"
@@ -1,77 +0,0 @@
1
- ##############################################################################
2
- #
3
- # Copyright (c) 2009 Zope Foundation and Contributors.
4
- # All Rights Reserved.
5
- #
6
- # This software is subject to the provisions of the Zope Public License,
7
- # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
8
- # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
- # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
- # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
- # FOR A PARTICULAR PURPOSE.
12
- #
13
- ##############################################################################
14
- """Setup for zope.processlifetime package
15
- """
16
- import os
17
-
18
- from setuptools import find_packages
19
- from setuptools import setup
20
-
21
-
22
- def read(*rnames):
23
- with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
24
- return f.read()
25
-
26
-
27
- setup(
28
- name='zope.processlifetime',
29
- version='3.1',
30
- author='Zope Foundation and Contributors',
31
- author_email='zope-dev@zope.dev',
32
- description="Zope process lifetime events",
33
- long_description=(read('README.rst') + '\n\n' +
34
- read('CHANGES.rst')),
35
- license='ZPL-2.1',
36
- keywords="zope process lifetime events",
37
- classifiers=[
38
- 'Development Status :: 5 - Production/Stable',
39
- 'Environment :: Web Environment',
40
- 'Intended Audience :: Developers',
41
- 'License :: OSI Approved :: Zope Public License',
42
- 'Programming Language :: Python',
43
- 'Programming Language :: Python :: 3',
44
- 'Programming Language :: Python :: 3.9',
45
- 'Programming Language :: Python :: 3.10',
46
- 'Programming Language :: Python :: 3.11',
47
- 'Programming Language :: Python :: 3.12',
48
- 'Programming Language :: Python :: 3.13',
49
- 'Programming Language :: Python :: Implementation :: CPython',
50
- 'Programming Language :: Python :: Implementation :: PyPy',
51
- 'Natural Language :: English',
52
- 'Operating System :: OS Independent',
53
- 'Topic :: Internet :: WWW/HTTP',
54
- 'Framework :: Zope :: 3',
55
- 'Framework :: Zope :: 5',
56
- ],
57
- url='http://github.com/zopefoundation/zope.processlifetime',
58
- packages=find_packages('src'),
59
- package_dir={'': 'src'},
60
- namespace_packages=['zope'],
61
- python_requires='>=3.9',
62
- install_requires=[
63
- 'setuptools',
64
- 'zope.interface',
65
- ],
66
- extras_require={
67
- 'test': [
68
- 'zope.testrunner',
69
- ],
70
- 'docs': [
71
- 'Sphinx',
72
- 'repoze.sphinx.autointerface',
73
- ],
74
- },
75
- include_package_data=True,
76
- zip_safe=False,
77
- )
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__)