autogenerate python libknot module metadata
currently, the libknot python module at pypi is out of date (it only offers 2.5.2, but knot is at 2.7.4). on the knot-dns-users mailing list, @dsalzman suggests that it would be good to get it updated and packaged more widely.
0001-python-auto-generate-versioned-python-module-setup.p.patch offers a way to auto-generate setup.py
, which should be sufficient to then somehow generate the rest of the .egg-info details that seem to belong in the python source tarball that pypi wants (e.g. with python3 setup.py egg_info
)
I don't typically upload packages to pypi, so i'm reluctant to claim that any of this is correct (that's why this is not a merge request)! please take a look at it, and figure out whether generating the full python module source (including package metadata) is possible.
It might be nice at release time to automate uploads to pypi from this as well, but i'd be happy with an automated way to create the package metadata that you're comfortable supporting, as that should be sufficient for me to package up python3-libknot for debian.