use scm versionning for the package
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled

This commit is contained in:
Laurent 2024-08-02 18:11:05 +00:00 committed by Laureηt
parent bec8e040eb
commit a8efe5eab0
2 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[project] [project]
name = "refiners" name = "refiners"
version = "0.4.0" dynamic = ["version"]
description = "The simplest way to train and run adapters on top of foundation models" description = "The simplest way to train and run adapters on top of foundation models"
authors = [{ name = "The Finegrain Team", email = "bonjour@lagon.tech" }] authors = [{ name = "The Finegrain Team", email = "bonjour@lagon.tech" }]
license = "MIT" license = "MIT"
@ -25,6 +25,10 @@ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
] ]
[project.urls]
source = "https://github.com/finegrain-ai/refiners"
documentation = "https://refine.rs/"
[project.optional-dependencies] [project.optional-dependencies]
training = [ training = [
"bitsandbytes>=0.41.2.post2", "bitsandbytes>=0.41.2.post2",
@ -72,9 +76,12 @@ solutions = [
] ]
[build-system] [build-system]
requires = ["hatchling"] requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
fallback-version = '0.0.0'
[tool.rye] [tool.rye]
managed = true managed = true

View file

@ -0,0 +1,3 @@
from importlib.metadata import version
__version__ = version("refiners")