diff --git a/pyproject.toml b/pyproject.toml index b27324b..dd7cbc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 diff --git a/src/refiners/__init__.py b/src/refiners/__init__.py index e69de29..3a6cd92 100644 --- a/src/refiners/__init__.py +++ b/src/refiners/__init__.py @@ -0,0 +1,3 @@ +from importlib.metadata import version + +__version__ = version("refiners")