-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also uses Version.from_any_vcs instead of Version.from_git()
- Loading branch information
1 parent
45d37a5
commit afdb564
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
import dunamai as _dunamai | ||
from dunamai import Version, Style | ||
__version__ = Version.from_git().serialize(metadata=False, style=Style.SemVer) | ||
__version__ = _dunamai.get_version( | ||
"nii2dcm", third_choice=_dunamai.Version.from_any_vcs | ||
).serialize(metadata=False, style=Style.SemVer) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters