-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 Switch packaging metadata to use PEP 621
This patch migrated most related content to `pyproject.toml` semi-automatically. The change was produced by using `jaraco.develop.migrate-config` and `ini2toml`. As a part of this change previously used for packaging configuration `setup.cfg` and `setup.py` files have been removed. `setup.py` hasn't been needed for quite a while but kept for backward compatibility. We don't care about that anymore. Co-authored-by: Sviatoslav Sydorenko <[email protected]>
- Loading branch information
Showing
4 changed files
with
75 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,84 @@ | |
# NOTE: at all times. | ||
requires = [ | ||
# Essentials | ||
"setuptools>=34.4", | ||
"setuptools >= 61.2", | ||
|
||
# Plugins | ||
"setuptools-scm >= 7.0.0", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "cheroot" | ||
description = "Highly-optimized, pure-python HTTP server" | ||
authors = [ | ||
{ name = "CherryPy Team", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"Framework :: CherryPy", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: Implementation", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: Jython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Internet :: WWW/HTTP :: HTTP Servers", | ||
"Topic :: Internet :: WWW/HTTP :: WSGI", | ||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server", | ||
"Typing :: Typed", | ||
] | ||
keywords = [ | ||
"http", | ||
"server", | ||
"ssl", | ||
"wsgi", | ||
] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"more_itertools >= 2.6", | ||
"jaraco.functools", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Homepage = "https://cheroot.cherrypy.dev" | ||
"Chat: Matrix" = "https://matrix.to/#/#cherrypy-space:matrix.org" | ||
"CI: GitHub" = "https://github.com/cherrypy/cheroot/actions" | ||
"Docs: RTD" = "https://cheroot.cherrypy.dev" | ||
"GitHub: issues" = "https://github.com/cherrypy/cheroot/issues" | ||
"GitHub: repo" = "https://github.com/cherrypy/cheroot" | ||
"Tidelift: funding" = "https://tidelift.com/subscription/pkg/pypi-cheroot?utm_source=pypi-cheroot&utm_medium=referral&utm_campaign=pypi" | ||
|
||
[project.readme] | ||
file = "README.rst" | ||
content-type = "text/x-rst" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
# upstream | ||
"sphinx >= 1.8.2", | ||
"jaraco.packaging >= 3.2", | ||
"sphinx-tabs >= 1.1.0", | ||
|
||
# local | ||
"furo", | ||
# `scm_tag_titles_ext` extension dep in docs/ | ||
"python-dateutil", | ||
"sphinxcontrib-apidoc >= 0.3.0", | ||
] | ||
|
||
[project.scripts] | ||
cheroot = "cheroot.cli:main" | ||
|
||
[tool.setuptools_scm] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters