Ok, then most likely Poetry needs to be integrated into this Python build system.

On So, Sep 6, 2020 at 12:17, Jonas Smedegaard <d...@jones.dk> wrote:
Quoting moul (2020-09-06 11:51:03)
 I do not think Poetry is required for the packaging.
 This this the software used for the development environment.
The only interesting things to take are the runtime dependencies from
 the pyproject.toml.
 And may be some description out of this file.

It seems to me that Poetry replaces setup.py with pyproject.toml, and
therefore changes how build is bootstrapped.

Debian packaging uses a set of wrappers called "pybuild":
<https://wiki.debian.org/Python/Pybuild>

With pybuild defaults, build fails with "cannot detect build system".

With "export PYBUILD_SYSTEM=distutils", build fails with "can't open
file 'setup.py'".

If Peotry is not needed, then how to initiate a build?


 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: <http://dr.jones.dk/>

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Reply via email to