1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
[build-system]
requires = ["flit_core >=3.9,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "multipart"
requires-python = ">=3.8"
dynamic = ["version"]
license = {text = "MIT License"}
description = "Parser for multipart/form-data"
readme = "README.rst"
authors = [
{name = "Marcel Hellkamp", email = "marc@gsites.de"},
]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"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',
]
[project.urls]
PyPI = "https://pypi.org/project/multipart/"
Homepage = "https://multipart.readthedocs.io/"
Documentation = "https://multipart.readthedocs.io/"
Changelog = "https://multipart.readthedocs.io/en/latest/changelog.html"
Source = "https://github.com/defnull/multipart"
Issues = "https://github.com/defnull/multipart/issues"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"build",
"twine",
"tox",
"tox-uv",
]
docs = [
"sphinx>=8,<9",
"sphinx-autobuild",
]
[tool.flit.sdist]
include = [
"test/*.py",
"README.rst",
"MAINTAINERS.rst",
"CHANGELOG.rst",
"LICENSE"
]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = [ "test" ]
[tool.tox]
requires = ["tox>=4.19", "tox-uv>=1.26.2"]
env_list = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14.0rc1", "type"]
[tool.tox.env_run_base]
description = "Run test under {env_name} ({env_python})"
deps = ["pytest"]
commands = [["pytest"]]
[tool.tox.env.type]
description = "Run type check on code base"
deps = ["mypy>=1.11.2", "types-cachetools>=5.5.0.20240820", "types-chardet>=5.0.4.6"]
commands = [["mypy", "multipart.py"]]
|