| 1 |
[build-system] |
| 2 |
requires = ["setuptools", "wheel"] |
| 3 |
build-backend = "setuptools.build_meta" |
| 4 |
|
| 5 |
[project] |
| •6 |
name = "html5lib" |
| 7 |
authors = [ |
| 8 |
# HTML5Lib-modern author: |
| 9 |
{name = "Ashley Sommer", email = "[email protected]"}, |
| 10 |
# Original HTML5Lib author: |
| 11 |
{name = "James Graham", email = "[email protected]"}, |
| 12 |
] |
| 13 |
description = "HTML parser based on the WHATWG HTML specification" |
| 14 |
requires-python = ">=3.8" |
| 15 |
license = {file = "LICENSE"} |
| 16 |
classifiers = [ |
| 17 |
'Development Status :: 5 - Production/Stable', |
| 18 |
'Intended Audience :: Developers', |
| 19 |
'License :: OSI Approved :: MIT License', |
| 20 |
'Operating System :: OS Independent', |
| 21 |
'Programming Language :: Python', |
| 22 |
'Programming Language :: Python :: 3', |
| 23 |
'Programming Language :: Python :: 3.8', |
| 24 |
'Programming Language :: Python :: 3.9', |
| 25 |
'Programming Language :: Python :: 3.10', |
| 26 |
'Programming Language :: Python :: 3.11', |
| 27 |
'Programming Language :: Python :: Implementation :: CPython', |
| 28 |
'Programming Language :: Python :: Implementation :: PyPy', |
| 29 |
'Topic :: Software Development :: Libraries :: Python Modules', |
| 30 |
'Topic :: Text Processing :: Markup :: HTML' |
| 31 |
] |
| 32 |
dependencies = [] |
| 33 |
dynamic = ["version", "readme"] |
| 34 |
|
| 35 |
[tool.setuptools] |
| 36 |
include-package-data = false # to disable including package data for tests (true by default) |
| 37 |
|
| 38 |
[tool.setuptools.dynamic] |
| 39 |
version = {attr = "html5lib.__version__"} # any module attribute compatible with ast.literal_eval |
| 40 |
readme = {file = ["README.rst", "AUTHORS.rst"]} |
| 41 |
|
| 42 |
[tool.setuptools.packages.find] |
| 43 |
where = ["."] # list of folders that contain the packages (["."] by default) |
| 44 |
include = ["html5lib*"] # package names should match these glob patterns (["*"] by default) |
| •45 |
exclude = ["html5lib.tests*", "html5lib.contrib*"] # exclude packages matching these glob patterns (empty by default) |
| 46 |
namespaces = false # to disable scanning PEP 420 namespaces (true by default) |
| 47 |
|