Skip to content

Commit

Permalink
VCS versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Mar 11, 2024
1 parent 378c01a commit 8d8365b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[project]
name = "sklearn-ann"
version = "0.1.0"
description = "Various integrations for ANN (Approximate Nearest Neighbours) libraries into scikit-learn."
authors = [
{ name = "Frankie Robertson", email = "[email protected]" },
{ name = "Philipp Angerer", email = "[email protected]" }
]
license = "BSD-3-Clause"
dynamic = ["version"]
requires-python = "<3.13,>=3.9" # enforced by scipy
dependencies = [
"scikit-learn>=0.24.0",
Expand Down Expand Up @@ -43,6 +43,9 @@ annlibs = [
"sklearn-ann[annoy,faiss,pynndescent,nmslib]",
]

[tool.hatch.version]
source = "vcs"

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

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

0 comments on commit 8d8365b

Please sign in to comment.