-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: modernize setup even more (leave only
pyproject.toml
) (#49)
* chore: modernize setup even more (leave only `pyproject.toml`) * chore(CI): clean up Actions workflows * docs: bump info on required Py version * chore: specify test deps
- Loading branch information
Showing
6 changed files
with
69 additions
and
69 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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = '1.6.0' | ||
__version__ = '2.0.0a1' | ||
__author__ = 'Joe Gregorio' | ||
__email__ = '[email protected]' | ||
__license__ = 'MIT License' | ||
|
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 |
---|---|---|
@@ -1,6 +1,56 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=47", | ||
"wheel>=0.34", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=47", | ||
"wheel>=0.34", | ||
] | ||
|
||
[project] | ||
name = "python-mimeparse" | ||
readme = "README.rst" | ||
dynamic = ["version"] | ||
dependencies = [] | ||
requires-python = ">=3.8" | ||
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges." | ||
license = {text = "MIT"} | ||
authors = [ | ||
{name = "DB Tsai", email = "[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name = "Falconry team", email = "[email protected]"}, | ||
] | ||
classifiers = [ | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 6 - Mature", | ||
"Intended Audience :: Developers", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
keywords = ["mime-type", "media-type"] | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/falconry/python-mimeparse" | ||
"Issue Tracker" = "https://github.com/falconry/python-mimeparse/issues" | ||
Funding = "https://opencollective.com/falcon" | ||
Chat = "https://gitter.im/falconry/user" | ||
|
||
[tool.setuptools] | ||
license-files = ["LICENSE"] | ||
py-modules = ["mimeparse"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "mimeparse.__version__"} |