setuptools_scm is used to retrieve version during runtime. However, the folder where a package gets installed is not a git
repository which leads to setuptools_scm failure.
Use get_distribution instead of setuptools_scm to get version during runtime.
Description
setuptools_scm
is used to retrieve version during runtime. However, the folder where a package gets installed is not a git repository which leads tosetuptools_scm
failure.Use
get_distribution
instead ofsetuptools_scm
to get version during runtime.Fixes https://github.com/ARMmbed/mbed-os-tools/issues/250
Pull request type
Reviewers