Bug#959407: dh-python: pybuild without setup.py

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#959407: dh-python: pybuild without setup.py

Drew Parsons
Package: dh-python
Version: 4.20200315
Severity: normal


There are movements around upstream packages to stop using setup.py.
https://stackoverflow.com/questions/58753970/how-to-build-a-source-distribution-without-using-setup-py-file

PEP517 seems to be the culprit behind this movement,
https://pypi.org/project/pep517/


If this is going to become the Way Of The Future,
then pybuild is going to want to support it.

Drew

Reply | Threaded
Open this post in threaded view
|

Bug#959407: dh-python: pybuild without setup.py

Scott Kitterman-5


On May 2, 2020 4:17:20 AM UTC, Drew Parsons <[hidden email]> wrote:
>> pybuild will want to support it
>
>Some discussion has started on the mailing list,
>
>https://lists.debian.org/debian-python/2020/04/msg00061.html

As mentioned in the thread, there's a pybuild plugin for packages that use flit to build based on pyproject.toml.  It's in git, staged for the next upload.  The pep517 package can also build packages using pyproject.toml, but it isn't, IMO, suitable for integration with pybuild because it's to heavy weight.

Scott K