Revert "Switched to new build and publish workflow (#4337)" (#4340)

This reverts commit 9603c71ada.
This commit is contained in:
Martin Donath
2022-09-11 16:05:55 +02:00
committed by GitHub
parent 9603c71ada
commit 1a9bc1dd6a
5 changed files with 93 additions and 53 deletions

View File

@@ -1,50 +0,0 @@
[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"
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"]