mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-04 14:44:02 +00:00
14 lines
341 B
Python
14 lines
341 B
Python
# Published at https://pypi.org/project/acryl-datahub-actions/.
|
|
__package_name__ = "acryl-datahub-actions"
|
|
__version__ = "1!0.0.0.dev0"
|
|
|
|
|
|
def is_dev_mode() -> bool:
|
|
return __version__.endswith("dev0")
|
|
|
|
|
|
def nice_version_name() -> str:
|
|
if is_dev_mode():
|
|
return "unavailable (installed in develop mode)"
|
|
return __version__
|