Skip to content

Commit 99723b9

Browse files
committed
Convert to pyproject.toml
1 parent 56d958e commit 99723b9

4 files changed

Lines changed: 89 additions & 91 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.make-sentinels
33
instance/
44
venv/
5+
dist/
56
sources/
67
requirements-mxdev.txt
78
constraints-mxdev.txt

MANIFEST.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ recursive-include collective *
22
recursive-include docs *
33
include *.txt
44
include *.rst
5+
include pyproject.toml
56
global-exclude *.pyc
67
global-exclude ._*
78
global-exclude *.mo
9+
global-exclude __pycache__
10+
prune instance
11+
prune venv
12+
prune .venv
13+
prune .git
14+
prune .make-sentinels
15+
prune .mxdev_cache

pyproject.toml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
[build-system]
2+
requires = ["setuptools>=68.2,<80", "wheel"]
3+
4+
[project]
5+
name = "collective.deletepermission"
6+
version = "2.0.0a1"
7+
description = "Implements a new permission 'Delete portal content'"
8+
keywords = ["collective", "deletepermission", "webcloud7", "plone"]
9+
license = "GPL-2.0-only"
10+
authors = [
11+
{name = "Mathias Leimgruber (webcloud7 ag)", email = "m.leimgruber@webcloud7.ch"},
12+
]
13+
requires-python = ">=3.11"
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Framework :: Plone",
17+
"Framework :: Plone :: 6.1",
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+
"Topic :: Software Development :: Libraries :: Python Modules",
25+
]
26+
dependencies = [
27+
"AccessControl",
28+
"Acquisition",
29+
"Products.CMFCore",
30+
"Products.CMFPlone",
31+
"Products.GenericSetup",
32+
"Products.PythonScripts",
33+
"ZODB",
34+
"Zope",
35+
"collective.monkeypatcher",
36+
"setuptools",
37+
"zope.container",
38+
"zope.event",
39+
"zope.lifecycleevent",
40+
]
41+
dynamic = ["readme"]
42+
43+
[project.urls]
44+
Homepage = "https://github.com/collective/collective.deletepermission"
45+
Repository = "https://github.com/collective/collective.deletepermission"
46+
Issues = "https://github.com/collective/collective.deletepermission/issues"
47+
48+
[project.optional-dependencies]
49+
test = [
50+
"AccessControl",
51+
"Products.CMFCore",
52+
"Products.GenericSetup",
53+
"Products.statusmessages",
54+
"Zope",
55+
"beautifulsoup4",
56+
"plone.api>=1.3.0",
57+
"plone.app.contenttypes",
58+
"plone.app.dexterity",
59+
"plone.app.portlets",
60+
"plone.app.testing",
61+
"plone.autoform",
62+
"requests",
63+
"transaction",
64+
"zExceptions",
65+
"zope.interface",
66+
]
67+
68+
[project.entry-points."z3c.autoinclude.plugin"]
69+
target = "plone"
70+
71+
[tool.setuptools]
72+
zip-safe = false
73+
include-package-data = true
74+
75+
[tool.setuptools.dynamic]
76+
readme = {file = ["README.rst", "docs/HISTORY.txt"], content-type = "text/x-rst"}
77+
78+
[tool.setuptools.packages.find]
79+
include_package_data = true
80+
181
[tool.black]
282
line-length = 88
383
target-version = ["py311"]

setup.py

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)