get version statically inside package by restructuring template
Opened this issue · 0 comments
github-actions commented
get version statically inside package by restructuring template
flexlate/flexlate/get_version.py
Line 1 in aec10ee
# TODO: get version statically inside package by restructuring template
import pkg_resources
def get_flexlate_version() -> str:
return pkg_resources.get_distribution("flexlate").version
68a36c896cfe9275f65e67069891a3b5b6daab21