Skip to content

Commit

Permalink
Use versioneer to generate versions from metadata + git
Browse files Browse the repository at this point in the history
Also use the version number in the Sphinx configuration to complete
metadata.
  • Loading branch information
danieldk committed Dec 1, 2023
1 parent 7a436e0 commit 01e947a
Show file tree
Hide file tree
Showing 7 changed files with 2,985 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
curated_transformers/_version.py export-subst
3 changes: 3 additions & 0 deletions curated_transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ class registry(object):
encoders: Registry = catalogue.create(
"curated_transformers", "encoders", entry_points=True
)

from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit 01e947a

Please sign in to comment.