Bug#984824: dh-python: pybuild needs to support toml (PEP517/PEP518) builds with no setup.py

2021-10-25 Thread Stuart Prescott
I won't go as far as to tag this bug with "patch"... but a draft of a pybuild plugin that can work with the PEP517 interfaces is available for discussion and improvement at: https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/20 -- Stuart Prescotthttp://www.nanonanonano.

Bug#984824: dh-python: pybuild needs to support toml (PEP517/PEP518) builds with no setup.py

2021-10-07 Thread Drew Parsons
On 18 Jun 2021, Osamu Aoki wrote: PEP-518 package may be without setup.py and may still be based on setuptools. For that kind of package, work around using flit plugin doesn't work. ... I think what we need is future oriented solution, here. We should create another plugin for "build" which u

Bug#984824: dh-python: pybuild needs to support toml (PEP517/PEP518) builds with no setup.py

2021-06-18 Thread Osamu Aoki
Oops, typos: s/what we need future/what we need is future/ s/projects.toml./pyproject.toml./

Bug#984824: dh-python: pybuild needs to support toml (PEP517/PEP518) builds with no setup.py

2021-06-18 Thread Osamu Aoki
Hi, Here is my thought PEP-518 package may be without setup.py and may still be based on setuptools. For that kind of package, work around using flit plugin doesn't work. Packaging Python Projects tutorial has such example without setup.py by presenting only setup.conf case as the first

Bug#984824: dh-python: pybuild needs to support toml (PEP517/PEP518) builds with no setup.py

2021-04-21 Thread Trent W. Buck
Drew, FYI dh-python=4.20201102+nmu1 can do this (pyproject.toml without setup.py), but you must opt-in to "flit" specifically. Documentation is here: https://manpages.debian.org/unstable/dh-python/pybuild.1.en.html#flit_plugin A minimal complete example is on #987296: https://bugs.deb

Bug#984824: dh-python: pybuild needs to support toml (PEP517/PEP518) builds with no setup.py

2021-03-08 Thread Drew Parsons
Package: dh-python Version: 4.20201102+nmu1 Severity: important Increasingly upstream packages have been moving to the PEP518 build format, for which a pyproject.toml file is provided, and no setup.py pybuild fails to handle such packages. In some cases a trivial setup.py can be patched in, or an