1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00
mkdocs-material/pyproject.toml
Ofek Lev 16bb4379d1
Modernized metadata (#4341)
* Revert "Revert "Switched to new build and publish workflow (#4337)" (#4340)"

This reverts commit 1a9bc1dd6a.

* Create setup.py

* update
2022-09-18 17:44:18 +02:00

52 lines
1.3 KiB
TOML

[build-system]
requires = ["hatchling", "hatch-requirements-txt", "hatch-nodejs-version"]
build-backend = "hatchling.build"
[project]
name = "mkdocs-material"
dynamic = [
"version",
"dependencies",
"license",
"description",
"authors",
"keywords",
"urls",
]
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Programming Language :: JavaScript",
"Programming Language :: Python",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing :: Markup :: HTML",
]
[project.entry-points."mkdocs.plugins"]
search = "material.plugins.search.plugin:SearchPlugin"
social = "material.plugins.social.plugin:SocialPlugin"
tags = "material.plugins.tags.plugin:TagsPlugin"
[project.entry-points."mkdocs.themes"]
material = "material"
[tool.hatch.version]
source = "nodejs"
[tool.hatch.metadata.hooks.nodejs]
fields = ["license", "description", "authors", "keywords", "urls"]
[tool.hatch.metadata.hooks.requirements_txt]
filename = "requirements.txt"
[tool.hatch.build.targets.wheel]
include = ["/material"]
[tool.hatch.build.targets.sdist]
include = ["/material", "/package.json", "/requirements.txt"]
exclude = ["/material/overrides"]