z3c.flashmessage 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 (35) hide show
  1. z3c_flashmessage-4.1/.pre-commit-config.yaml +42 -0
  2. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/CHANGES.rst +16 -0
  3. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/CONTRIBUTING.md +2 -2
  4. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/MANIFEST.in +2 -2
  5. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/PKG-INFO +31 -28
  6. z3c_flashmessage-4.1/buildout.cfg +7 -0
  7. z3c_flashmessage-4.1/pyproject.toml +93 -0
  8. z3c_flashmessage-4.1/setup.py +5 -0
  9. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/TODO.txt +0 -1
  10. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c.flashmessage.egg-info/PKG-INFO +31 -28
  11. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c.flashmessage.egg-info/SOURCES.txt +0 -3
  12. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c.flashmessage.egg-info/requires.txt +1 -1
  13. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/tox.ini +8 -8
  14. z3c_flashmessage-3.1/.pre-commit-config.yaml +0 -28
  15. z3c_flashmessage-3.1/buildout.cfg +0 -14
  16. z3c_flashmessage-3.1/pyproject.toml +0 -32
  17. z3c_flashmessage-3.1/setup.py +0 -66
  18. z3c_flashmessage-3.1/src/z3c/__init__.py +0 -1
  19. z3c_flashmessage-3.1/src/z3c.flashmessage.egg-info/namespace_packages.txt +0 -1
  20. z3c_flashmessage-3.1/src/z3c.flashmessage.egg-info/not-zip-safe +0 -1
  21. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/COPYRIGHT.txt +0 -0
  22. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/LICENSE.txt +0 -0
  23. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/README.rst +0 -0
  24. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/setup.cfg +0 -0
  25. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/README.rst +0 -0
  26. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/__init__.py +0 -0
  27. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/ftesting.zcml +0 -0
  28. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/interfaces.py +0 -0
  29. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/message.py +0 -0
  30. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/receiver.py +0 -0
  31. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/sketches.txt +0 -0
  32. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/sources.py +0 -0
  33. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c/flashmessage/tests.py +0 -0
  34. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c.flashmessage.egg-info/dependency_links.txt +0 -0
  35. {z3c_flashmessage-3.1 → z3c_flashmessage-4.1}/src/z3c.flashmessage.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
@@ -2,6 +2,22 @@
2
2
  CHANGES
3
3
  =======
4
4
 
5
+ 4.1 (2026-11-26)
6
+ ================
7
+
8
+ - Move package metadata from setup.py to pyproject.toml.
9
+
10
+ - Add support for Python 3.14, 3.15.
11
+
12
+ - Drop support for Python 3.10, 3.9.
13
+
14
+
15
+ 4.0 (2025-04-14)
16
+ ================
17
+
18
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
19
+
20
+
5
21
  3.1 (2025-04-03)
6
22
  ================
7
23
 
@@ -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
 
@@ -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,28 +1,30 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: z3c.flashmessage
3
- Version: 3.1
3
+ Version: 4.1
4
4
  Summary: A package for sending `flash messages` to users.
5
- Home-page: https://github.com/zopefoundation/z3c.flashmessage
6
- Author: Jasper Op de Coul, Christian Theune
7
- Author-email: jasper@infrae.com, mail@gocept.com
8
- License: ZPL-2.1
9
- Keywords: zope3 message zope session
5
+ Author-email: Jasper Op de Coul <jasper@infrae.com>, Christian Theune <mail@gocept.com>
6
+ Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
7
+ License-Expression: ZPL-2.1
8
+ Project-URL: Source, https://github.com/zopefoundation/z3c.flashmessage
9
+ Project-URL: Issues, https://github.com/zopefoundation/z3c.flashmessage/issues
10
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/z3c.flashmessage/master/CHANGES.rst
11
+ Keywords: zope3,message,zope,session
10
12
  Classifier: Environment :: Web Environment
11
13
  Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: Zope Public License
13
14
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
18
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
19
20
  Classifier: Programming Language :: Python :: Implementation :: CPython
20
21
  Classifier: Programming Language :: Python :: Implementation :: PyPy
21
22
  Classifier: Natural Language :: English
22
23
  Classifier: Operating System :: OS Independent
23
24
  Classifier: Topic :: Internet :: WWW/HTTP
24
25
  Classifier: Framework :: Zope :: 3
25
- Requires-Python: >=3.9
26
+ Requires-Python: >=3.11
27
+ Description-Content-Type: text/x-rst
26
28
  License-File: LICENSE.txt
27
29
  Requires-Dist: setuptools
28
30
  Requires-Dist: ZODB
@@ -33,24 +35,10 @@ Provides-Extra: test
33
35
  Requires-Dist: zope.publisher; extra == "test"
34
36
  Requires-Dist: zope.component; extra == "test"
35
37
  Requires-Dist: zope.security; extra == "test"
36
- Requires-Dist: zope.testrunner; extra == "test"
38
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
37
39
  Requires-Dist: zope.app.wsgi[testlayer]>=4.0; extra == "test"
38
40
  Requires-Dist: Webtest; extra == "test"
39
- Dynamic: author
40
- Dynamic: author-email
41
- Dynamic: classifier
42
- Dynamic: description
43
- Dynamic: home-page
44
- Dynamic: keywords
45
- Dynamic: license
46
- Dynamic: provides-extra
47
- Dynamic: requires-dist
48
- Dynamic: requires-python
49
- Dynamic: summary
50
-
51
- .. contents::
52
-
53
-
41
+ Dynamic: license-file
54
42
 
55
43
  ==============
56
44
  Flash messages
@@ -184,11 +172,26 @@ supports session affinity (so a specific client always hits the same
184
172
  back end server). This somewhat reduces the performance benefits of
185
173
  clustering.
186
174
 
187
-
188
175
  =======
189
176
  CHANGES
190
177
  =======
191
178
 
179
+ 4.1 (2026-11-26)
180
+ ================
181
+
182
+ - Move package metadata from setup.py to pyproject.toml.
183
+
184
+ - Add support for Python 3.14, 3.15.
185
+
186
+ - Drop support for Python 3.10, 3.9.
187
+
188
+
189
+ 4.0 (2025-04-14)
190
+ ================
191
+
192
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
193
+
194
+
192
195
  3.1 (2025-04-03)
193
196
  ================
194
197
 
@@ -0,0 +1,7 @@
1
+ [buildout]
2
+ develop = .
3
+ parts = test
4
+
5
+ [test]
6
+ recipe = zc.recipe.testrunner
7
+ eggs = z3c.flashmessage [test]
@@ -0,0 +1,93 @@
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 = "z3c.flashmessage"
12
+ version = "4.1"
13
+ description = "A package for sending `flash messages` to users."
14
+ license = "ZPL-2.1"
15
+ classifiers = [
16
+ "Environment :: Web Environment",
17
+ "Intended Audience :: Developers",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Programming Language :: Python :: 3.14",
23
+ "Programming Language :: Python :: 3.15",
24
+ "Programming Language :: Python :: Implementation :: CPython",
25
+ "Programming Language :: Python :: Implementation :: PyPy",
26
+ "Natural Language :: English",
27
+ "Operating System :: OS Independent",
28
+ "Topic :: Internet :: WWW/HTTP",
29
+ "Framework :: Zope :: 3",
30
+ ]
31
+ dynamic = ["readme"]
32
+ requires-python = ">=3.11"
33
+ authors = [
34
+ {name = "Jasper Op de Coul", email = "jasper@infrae.com"},
35
+ {name = "Christian Theune", email = "mail@gocept.com"},
36
+ ]
37
+ maintainers = [
38
+ {name = "Plone Foundation and contributors",email = "zope-dev@zope.dev"},
39
+ ]
40
+ dependencies = [
41
+ "setuptools",
42
+ "ZODB",
43
+ "zope.interface",
44
+ "zope.schema",
45
+ "zope.session",
46
+ ]
47
+ keywords = ["zope3", "message", "zope", "session"]
48
+ [project.optional-dependencies]
49
+ test = [
50
+ "zope.publisher",
51
+ "zope.component",
52
+ "zope.security",
53
+ "zope.testrunner >= 6.4",
54
+ "zope.app.wsgi[testlayer] >= 4.0",
55
+ "Webtest",
56
+ ]
57
+
58
+
59
+ [project.urls]
60
+ Source = "https://github.com/zopefoundation/z3c.flashmessage"
61
+ Issues = "https://github.com/zopefoundation/z3c.flashmessage/issues"
62
+ Changelog = "https://raw.githubusercontent.com/zopefoundation/z3c.flashmessage/master/CHANGES.rst"
63
+
64
+ [tool.coverage.run]
65
+ branch = true
66
+ source = ["z3c.flashmessage"]
67
+
68
+ [tool.coverage.report]
69
+ fail_under = 100
70
+ precision = 2
71
+ ignore_errors = true
72
+ show_missing = true
73
+ exclude_lines = [
74
+ "pragma: no cover",
75
+ "pragma: nocover",
76
+ "except ImportError:",
77
+ "raise NotImplementedError",
78
+ "if __name__ == '__main__':",
79
+ "self.fail",
80
+ "raise AssertionError",
81
+ "raise unittest.Skip",
82
+ ]
83
+
84
+ [tool.coverage.html]
85
+ directory = "parts/htmlcov"
86
+
87
+ [tool.setuptools.dynamic]
88
+ readme = {file = ["src/z3c/flashmessage/README.rst", "CHANGES.rst"]}
89
+
90
+ [tool.zest-releaser]
91
+ create-wheel = false
92
+ extra-message = ""
93
+ upload-pypi = false
@@ -0,0 +1,5 @@
1
+ from setuptools import setup
2
+
3
+
4
+ # See pyproject.toml for package metadata
5
+ setup()
@@ -1,2 +1 @@
1
1
  - Timestamps on messages
2
-
@@ -1,28 +1,30 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: z3c.flashmessage
3
- Version: 3.1
3
+ Version: 4.1
4
4
  Summary: A package for sending `flash messages` to users.
5
- Home-page: https://github.com/zopefoundation/z3c.flashmessage
6
- Author: Jasper Op de Coul, Christian Theune
7
- Author-email: jasper@infrae.com, mail@gocept.com
8
- License: ZPL-2.1
9
- Keywords: zope3 message zope session
5
+ Author-email: Jasper Op de Coul <jasper@infrae.com>, Christian Theune <mail@gocept.com>
6
+ Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
7
+ License-Expression: ZPL-2.1
8
+ Project-URL: Source, https://github.com/zopefoundation/z3c.flashmessage
9
+ Project-URL: Issues, https://github.com/zopefoundation/z3c.flashmessage/issues
10
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/z3c.flashmessage/master/CHANGES.rst
11
+ Keywords: zope3,message,zope,session
10
12
  Classifier: Environment :: Web Environment
11
13
  Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: Zope Public License
13
14
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
18
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
19
20
  Classifier: Programming Language :: Python :: Implementation :: CPython
20
21
  Classifier: Programming Language :: Python :: Implementation :: PyPy
21
22
  Classifier: Natural Language :: English
22
23
  Classifier: Operating System :: OS Independent
23
24
  Classifier: Topic :: Internet :: WWW/HTTP
24
25
  Classifier: Framework :: Zope :: 3
25
- Requires-Python: >=3.9
26
+ Requires-Python: >=3.11
27
+ Description-Content-Type: text/x-rst
26
28
  License-File: LICENSE.txt
27
29
  Requires-Dist: setuptools
28
30
  Requires-Dist: ZODB
@@ -33,24 +35,10 @@ Provides-Extra: test
33
35
  Requires-Dist: zope.publisher; extra == "test"
34
36
  Requires-Dist: zope.component; extra == "test"
35
37
  Requires-Dist: zope.security; extra == "test"
36
- Requires-Dist: zope.testrunner; extra == "test"
38
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
37
39
  Requires-Dist: zope.app.wsgi[testlayer]>=4.0; extra == "test"
38
40
  Requires-Dist: Webtest; extra == "test"
39
- Dynamic: author
40
- Dynamic: author-email
41
- Dynamic: classifier
42
- Dynamic: description
43
- Dynamic: home-page
44
- Dynamic: keywords
45
- Dynamic: license
46
- Dynamic: provides-extra
47
- Dynamic: requires-dist
48
- Dynamic: requires-python
49
- Dynamic: summary
50
-
51
- .. contents::
52
-
53
-
41
+ Dynamic: license-file
54
42
 
55
43
  ==============
56
44
  Flash messages
@@ -184,11 +172,26 @@ supports session affinity (so a specific client always hits the same
184
172
  back end server). This somewhat reduces the performance benefits of
185
173
  clustering.
186
174
 
187
-
188
175
  =======
189
176
  CHANGES
190
177
  =======
191
178
 
179
+ 4.1 (2026-11-26)
180
+ ================
181
+
182
+ - Move package metadata from setup.py to pyproject.toml.
183
+
184
+ - Add support for Python 3.14, 3.15.
185
+
186
+ - Drop support for Python 3.10, 3.9.
187
+
188
+
189
+ 4.0 (2025-04-14)
190
+ ================
191
+
192
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
193
+
194
+
192
195
  3.1 (2025-04-03)
193
196
  ================
194
197
 
@@ -10,12 +10,9 @@ pyproject.toml
10
10
  setup.cfg
11
11
  setup.py
12
12
  tox.ini
13
- src/z3c/__init__.py
14
13
  src/z3c.flashmessage.egg-info/PKG-INFO
15
14
  src/z3c.flashmessage.egg-info/SOURCES.txt
16
15
  src/z3c.flashmessage.egg-info/dependency_links.txt
17
- src/z3c.flashmessage.egg-info/namespace_packages.txt
18
- src/z3c.flashmessage.egg-info/not-zip-safe
19
16
  src/z3c.flashmessage.egg-info/requires.txt
20
17
  src/z3c.flashmessage.egg-info/top_level.txt
21
18
  src/z3c/flashmessage/README.rst
@@ -8,6 +8,6 @@ zope.session
8
8
  zope.publisher
9
9
  zope.component
10
10
  zope.security
11
- zope.testrunner
11
+ zope.testrunner>=6.4
12
12
  zope.app.wsgi[testlayer]>=4.0
13
13
  Webtest
@@ -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
  coverage
15
15
 
@@ -18,7 +18,7 @@ usedevelop = true
18
18
  package = wheel
19
19
  wheel_build_env = .pkg
20
20
  deps =
21
- setuptools == 75.8.2
21
+ setuptools >= 78.1.1,< 82
22
22
  setenv =
23
23
  ZOPE_INTERFACE_STRICT_IRO=1
24
24
  commands =
@@ -36,17 +36,17 @@ description = ensure that the distribution is ready to release
36
36
  basepython = python3
37
37
  skip_install = true
38
38
  deps =
39
- setuptools == 75.8.2
39
+ setuptools >= 78.1.1,< 82
40
40
  wheel
41
41
  twine
42
42
  build
43
43
  check-manifest
44
- check-python-versions >= 0.20.0
44
+ check-python-versions >= 0.24.2
45
45
  wheel
46
46
  commands_pre =
47
47
  commands =
48
48
  check-manifest
49
- check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
49
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
50
50
  python -m build --sdist --no-isolation
51
51
  twine check dist/*
52
52
 
@@ -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.1"
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.2"
25
- hooks:
26
- - id: flake8
27
- additional_dependencies:
28
- - flake8-debugger == 4.1.2
@@ -1,14 +0,0 @@
1
- [buildout]
2
- develop = .
3
- parts = test console-scripts
4
-
5
- [test]
6
- recipe = zc.recipe.testrunner
7
- eggs = z3c.flashmessage [test]
8
-
9
- [console-scripts]
10
- recipe = zc.recipe.egg
11
- eggs =
12
- importchecker
13
- pep8
14
- createcoverage
@@ -1,32 +0,0 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
-
4
- [build-system]
5
- requires = [
6
- "setuptools == 75.8.2",
7
- "wheel",
8
- ]
9
- build-backend = "setuptools.build_meta"
10
-
11
- [tool.coverage.run]
12
- branch = true
13
- source = ["z3c.flashmessage"]
14
-
15
- [tool.coverage.report]
16
- fail_under = 100
17
- precision = 2
18
- ignore_errors = true
19
- show_missing = true
20
- exclude_lines = [
21
- "pragma: no cover",
22
- "pragma: nocover",
23
- "except ImportError:",
24
- "raise NotImplementedError",
25
- "if __name__ == '__main__':",
26
- "self.fail",
27
- "raise AssertionError",
28
- "raise unittest.Skip",
29
- ]
30
-
31
- [tool.coverage.html]
32
- directory = "parts/htmlcov"
@@ -1,66 +0,0 @@
1
- import os.path
2
-
3
- from setuptools import find_packages
4
- from setuptools import setup
5
-
6
-
7
- def read(*path_elements):
8
- with open(os.path.join(*path_elements)) as f:
9
- return "\n\n" + f.read()
10
-
11
-
12
- TEST_REQUIREMENTS = [
13
- 'zope.publisher',
14
- 'zope.component',
15
- 'zope.security',
16
- 'zope.testrunner',
17
- 'zope.app.wsgi[testlayer] >= 4.0',
18
- 'Webtest',
19
- ]
20
-
21
- setup(
22
- name="z3c.flashmessage",
23
- version='3.1',
24
- author="Jasper Op de Coul, Christian Theune",
25
- author_email="jasper@infrae.com, mail@gocept.com",
26
- description="A package for sending `flash messages` to users.",
27
- long_description=(
28
- '.. contents::\n\n' +
29
- read('src', 'z3c', 'flashmessage', 'README.rst') +
30
- read('CHANGES.rst')
31
- ),
32
- url='https://github.com/zopefoundation/z3c.flashmessage',
33
- license="ZPL-2.1",
34
- keywords="zope3 message zope session",
35
- classifiers=[
36
- 'Environment :: Web Environment',
37
- 'Intended Audience :: Developers',
38
- 'License :: OSI Approved :: Zope Public License',
39
- 'Programming Language :: Python :: 3',
40
- 'Programming Language :: Python :: 3.9',
41
- 'Programming Language :: Python :: 3.10',
42
- 'Programming Language :: Python :: 3.11',
43
- 'Programming Language :: Python :: 3.12',
44
- 'Programming Language :: Python :: 3.13',
45
- 'Programming Language :: Python :: Implementation :: CPython',
46
- 'Programming Language :: Python :: Implementation :: PyPy',
47
- 'Natural Language :: English',
48
- 'Operating System :: OS Independent',
49
- 'Topic :: Internet :: WWW/HTTP',
50
- 'Framework :: Zope :: 3',
51
- ],
52
- zip_safe=False,
53
- packages=find_packages('src'),
54
- include_package_data=True,
55
- package_dir={'': 'src'},
56
- namespace_packages=['z3c'],
57
- python_requires='>=3.9',
58
- install_requires=[
59
- 'setuptools',
60
- 'ZODB',
61
- 'zope.interface',
62
- 'zope.schema',
63
- 'zope.session'
64
- ],
65
- extras_require=dict(test=TEST_REQUIREMENTS),
66
- )
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
File without changes