Closed marcossantiago closed 3 years ago
One option would be to use wheels instead of an sdist, since the wheel will include the raw version rather than having to re-execute the code to get it.
If you need sdists, then it would probably be best to write an external script that dumps the dynamic version into setup.py (hard-coded as a string) and then reverts it after packaging.
Makes sense. Thank you @mtkennerly. Appreciate.
Hi there,
Thanks for the cool project! I really appreciate it.
I have been testing on a small python project, but I am facing some issues when installing the package that uses dunamai for Version control. Is this supported or am I missing something ?
This is the
setup.py
:It works great when I create the package or run the commands locally:
But fails when I try to install it
Please the installation works fine if I set a static version.