Skip to content

Commit

Permalink
Merge pull request #24 from andhus/fix-versioneer
Browse files Browse the repository at this point in the history
Re-inits `versioneer` and adds missing `cmdclass` to `setup.py`
  • Loading branch information
andhus authored Apr 9, 2024
2 parents bd39c33 + fc7b606 commit f7f6446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
setup(
name='dirhash',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion src/dirhash/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_config() -> VersioneerConfig:
cfg = VersioneerConfig()
cfg.VCS = "git"
cfg.style = "pep440"
cfg.tag_prefix = ""
cfg.tag_prefix = "v"
cfg.parentdir_prefix = "dirhash-"
cfg.versionfile_source = "src/dirhash/_version.py"
cfg.verbose = False
Expand Down

0 comments on commit f7f6446

Please sign in to comment.