Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 123 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,129 @@ requires = [
]
build-backend = "setuptools.build_meta"

[project]
name = "Zope"
version = "6.0.dev0"
description = "Zope application server / web framework"
readme = "README.rst"
requires-python = ">=3.10"
license = "ZPL-2.1"
authors = [
{ name = "Zope Foundation and contributors", email = "zope-dev@zope.dev" },
]
maintainers = [
{ name = "Plone Foundation and contributors", email = "zope-dev@zope.dev" },
]
classifiers = [
"Development Status :: 6 - Mature",
"Environment :: Web Environment",
"Framework :: Zope",
"Framework :: Zope :: 5",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
dependencies = [
"AccessControl >= 5.2",
"Acquisition",
"BTrees",
"Chameleon >= 3.7.0",
"DateTime",
"DocumentTemplate >= 4.0",
"ExtensionClass",
"MultiMapping",
"PasteDeploy",
"Persistence",
"RestrictedPython",
"ZConfig >= 2.9.2",
"ZODB",
"multipart",
"transaction >= 2.4",
"waitress",
"zExceptions >= 3.4",
"z3c.pt",
"zope.browser",
"zope.browsermenu",
"zope.browserpage >= 4.4.0.dev0",
"zope.browserresource >= 3.11",
"zope.component",
"zope.configuration",
"zope.container",
"zope.contentprovider",
"zope.contenttype",
"zope.datetime",
"zope.deferredimport",
"zope.event",
"zope.exceptions",
"zope.globalrequest",
"zope.i18n [zcml]",
"zope.i18nmessageid",
"zope.interface >= 3.8",
"zope.lifecycleevent",
"zope.location",
"zope.pagetemplate >= 4.0.2",
"zope.processlifetime",
"zope.proxy",
"zope.ptresource",
"zope.publisher",
"zope.schema",
"zope.security",
"zope.sequencesort",
"zope.site",
"zope.size",
"zope.tal",
"zope.tales >= 5.0.2",
"zope.testbrowser",
"zope.testing",
"zope.traversing",
"zope.viewlet",
]

[project.entry-points."paste.app_factory"]
main = "Zope2.Startup.run:make_wsgi_app"

[project.entry-points."paste.filter_app_factory"]
httpexceptions = "ZPublisher.httpexceptions:main"
content_length = "ZPublisher.pastefilter:filter_content_length"

[project.entry-points.scripts]
addzopeuser = "Zope2.utilities.adduser:main"
runwsgi = "Zope2.Startup.serve:main"
mkwsgiinstance = "Zope2.utilities.mkwsgiinstance:main"
zconsole = "Zope2.utilities.zconsole:main"

[project.entry-points.zodbupdate]
renames = "OFS:zodbupdate_rename_dict"

[project.entry-points."zodbupdate.decode"]
decodes = "OFS:zodbupdate_decode_dict"

[project.optional-dependencies]
docs = [
"Sphinx",
"furo",
"tempstorage",
"ZConfig",
]
wsgi = ["Paste"]

[project.urls]
Documentation = "https://zope.readthedocs.io"
Issues = "https://github.com/zopefoundation/Zope/issues"
Source = "https://github.com/zopefoundation/Zope"
Changelog = "https://github.com/zopefoundation/Zope/blob/master/CHANGES.rst"

[tool.coverage.run]
branch = true
source = ["src"]
Expand Down
140 changes: 2 additions & 138 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,144 +12,8 @@
#
##############################################################################

import os

from setuptools import setup


HERE = os.path.abspath(os.path.dirname(__file__))


def _read_file(filename):
with open(os.path.join(HERE, filename)) as f:
return f.read()


README = _read_file('README.rst')
CHANGES = _read_file('CHANGES.rst')

version = '6.0.dev0'

setup(
name='Zope',
version=version,
url='https://zope.readthedocs.io/en/latest/',
project_urls={
'Documentation': 'https://zope.readthedocs.io',
'Issue Tracker': 'https://github.com/zopefoundation/Zope/issues',
'Sources': 'https://github.com/zopefoundation/Zope',
},
license='ZPL-2.1',
description='Zope application server / web framework',
author='Zope Foundation and Contributors',
author_email='zope-dev@zope.dev',
long_description="\n\n".join([README, CHANGES]),
long_description_content_type='text/x-rst',
classifiers=[
"Development Status :: 6 - Mature",
"Environment :: Web Environment",
"Framework :: Zope :: 5",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
python_requires='>= 3.10',
install_requires=[
'AccessControl >= 5.2',
'Acquisition',
'BTrees',
'Chameleon >= 3.7.0',
'DateTime',
'DocumentTemplate >= 4.0',
'ExtensionClass',
'MultiMapping',
'PasteDeploy',
'Persistence',
'RestrictedPython',
'ZConfig >= 2.9.2',
'ZODB',
'multipart',
'transaction >= 2.4',
'waitress',
'zExceptions >= 3.4',
'z3c.pt',
'zope.browser',
'zope.browsermenu',
'zope.browserpage >= 4.4.0.dev0',
'zope.browserresource >= 3.11',
'zope.component',
'zope.configuration',
'zope.container',
'zope.contentprovider',
'zope.contenttype',
'zope.datetime',
'zope.deferredimport',
'zope.event',
'zope.exceptions',
'zope.globalrequest',
'zope.i18n [zcml]',
'zope.i18nmessageid',
'zope.interface >= 3.8',
'zope.lifecycleevent',
'zope.location',
'zope.pagetemplate >= 4.0.2',
'zope.processlifetime',
'zope.proxy',
'zope.ptresource',
'zope.publisher',
'zope.schema',
'zope.security',
'zope.sequencesort',
'zope.site',
'zope.size',
'zope.tal',
'zope.tales >= 5.0.2',
'zope.testbrowser',
'zope.testing',
'zope.traversing',
'zope.viewlet',
],
include_package_data=True,
zip_safe=False,
extras_require={
'docs': [
'Sphinx',
'furo',
'tempstorage',
],
'wsgi': [
'Paste',
],
},
entry_points={
'paste.app_factory': [
'main=Zope2.Startup.run:make_wsgi_app',
],
'paste.filter_app_factory': [
'httpexceptions=ZPublisher.httpexceptions:main',
'content_length=ZPublisher.pastefilter:filter_content_length',
],
'console_scripts': [
'addzopeuser=Zope2.utilities.adduser:main',
'runwsgi=Zope2.Startup.serve:main',
'mkwsgiinstance=Zope2.utilities.mkwsgiinstance:main',
'zconsole=Zope2.utilities.zconsole:main',
],
'zodbupdate.decode': [
'decodes = OFS:zodbupdate_decode_dict',
],
'zodbupdate': [
'renames = OFS:zodbupdate_rename_dict',
],
},
)
# See pyproject.toml for package metadata
setup()