mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-24 15:18:46 +00:00
use scm versionning for the package
This commit is contained in:
parent
bec8e040eb
commit
a8efe5eab0
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
from importlib.metadata import version
|
||||||
|
|
||||||
|
__version__ = version("refiners")
|
Loading…
Reference in a new issue