You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setuptools_scm allows to use a custom version_scheme function. When not using setup.py this needs to be an entry-point name. However, this doesn't work logically. When the project is installed (e.g. pip install -e .), setuptools asks setuptools_scm for the version tp install the project. But the project is not installed at that point and therefore the entry point is not accessible. Then, the install will fail due to assert main_version is not None.
Can you please check how to solve this chicken-egg issue?
One idea - Support qualified names: Instead of an entry-point give the qualified name to a function and setuptools_scm will execute it
The text was updated successfully, but these errors were encountered:
setuptools_scm allows to use a custom version_scheme function. When not using
setup.py
this needs to be an entry-point name. However, this doesn't work logically. When the project is installed (e.g.pip install -e .
), setuptools asks setuptools_scm for the version tp install the project. But the project is not installed at that point and therefore the entry point is not accessible. Then, the install will fail due toassert main_version is not None
.Can you please check how to solve this chicken-egg issue?
One idea - Support qualified names: Instead of an entry-point give the qualified name to a function and setuptools_scm will execute it
The text was updated successfully, but these errors were encountered: