Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get version statically inside package by restructuring template #106

Open
github-actions bot opened this issue Apr 6, 2022 · 0 comments
Open

get version statically inside package by restructuring template #106

github-actions bot opened this issue Apr 6, 2022 · 0 comments
Labels

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2022

get version statically inside package by restructuring template

# TODO: get version statically inside package by restructuring template

# 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

@github-actions github-actions bot added the todo label Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants