-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove badges from PyPI readme (#30)
- Loading branch information
1 parent
a474447
commit 25d13ed
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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", | ||
|
@@ -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" |