Skip to content

create _version.py file

Thomas requested to merge t-8ch/python-debian:main into main

debian/_version.py is used by debian/init.py to determine its own version. Without it init.py has to make up some data. In the process it even generates a warning because datetime.utcnow() is deprecated.

Create such a _version.py during packaging.

As a sideeffect the wheel artifacts now have predictable names, so make use of that during package().

Merge request reports