mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 13:48:46 +00:00
use scm versionning for the package
This commit is contained in:
parent
bec8e040eb
commit
a8efe5eab0
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "refiners"
|
||||
version = "0.4.0"
|
||||
dynamic = ["version"]
|
||||
description = "The simplest way to train and run adapters on top of foundation models"
|
||||
authors = [{ name = "The Finegrain Team", email = "bonjour@lagon.tech" }]
|
||||
license = "MIT"
|
||||
|
@ -25,6 +25,10 @@ classifiers = [
|
|||
"License :: OSI Approved :: MIT License",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
source = "https://github.com/finegrain-ai/refiners"
|
||||
documentation = "https://refine.rs/"
|
||||
|
||||
[project.optional-dependencies]
|
||||
training = [
|
||||
"bitsandbytes>=0.41.2.post2",
|
||||
|
@ -72,9 +76,12 @@ solutions = [
|
|||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
requires = ["hatchling", "hatch-vcs"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.version]
|
||||
source = "vcs"
|
||||
fallback-version = '0.0.0'
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
from importlib.metadata import version
|
||||
|
||||
__version__ = version("refiners")
|
Loading…
Reference in a new issue