Skip to content

Commit

Permalink
Remove badges from PyPI readme (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep authored Mar 15, 2024
1 parent a474447 commit 25d13ed
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ authors = [
{ name = "Frankie Robertson", email = "[email protected]" },
{ name = "Philipp Angerer", email = "[email protected]" }
]
readme = "README.rst"
license = "BSD-3-Clause"
urls.Source = "https://github.com/scikit-learn-contrib/sklearn-ann"
urls.Documentation = "https://sklearn-ann.readthedocs.io/"
dynamic = ["version"]
dynamic = ["version", "readme"]
requires-python = "<3.13,>=3.9" # enforced by scipy
dependencies = [
"scikit-learn>=0.24.0",
Expand Down Expand Up @@ -49,6 +48,12 @@ annlibs = [
[tool.hatch.version]
source = "vcs"

[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/x-rst"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.rst"
start-after = ".. inclusion-marker-do-not-remove\n\n"

[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
Expand Down Expand Up @@ -94,5 +99,5 @@ build-docs = "sphinx-build -M html docs docs/_build"
packages = ["src/sklearn_ann"]

[build-system]
requires = ["hatchling", "hatch-vcs"]
requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"

0 comments on commit 25d13ed

Please sign in to comment.