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.
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
Oops, typos:
s/what we need future/what we need is future/
s/projects.toml./pyproject.toml./
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
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
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
6 matches
Mail list logo