MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / get_keywords

Function get_keywords

monai/_version.py:22–32  ·  view source on GitHub ↗

Get the keywords needed to look up the version information.

()

Source from the content-addressed store, hash-verified

20
21
22def get_keywords():
23 """Get the keywords needed to look up the version information."""
24 # these strings will be replaced by git during git-archive.
25 # setup.py/versioneer.py will grep for the variable names, so they must
26 # each be defined on a line of their own. _version.py will just call
27 # get_keywords().
28 git_refnames = "$Format:%d$"
29 git_full = "$Format:%H$"
30 git_date = "$Format:%ci$"
31 keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
32 return keywords
33
34
35class VersioneerConfig:

Callers 1

get_versionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…