[Dev] python packaging

fauno fauno at endefensadelsl.org
Fri Oct 16 14:02:27 GMT 2015


hey, question to people knowledgeable in python:

i'm packaging bitmask from the leap project and it depends on a lot of
python2 packages.  the issue is that i found out that `python2 setup.py
install --root=$pkgdir` doesn't verify dependencies, so the build seems
ok until you try to use the package and the import fails.

this is very uncomfortable because i have to test every package to see
what's missing, instead of the build process doing it for me.

how can i make setup.py fail when a dependency isn't met?  or how should
i programatically pull a pypi package and every dependency and generate
correct pkgbuilds from them?

-- 
:>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 584 bytes
Desc: not available
URL: <https://lists.parabola.nu/pipermail/dev/attachments/20151016/9a4db90b/attachment.sig>


More information about the Dev mailing list