> 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.
It's ok. > 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. It's what the check() function is for in PKGBUILDs. Often "setup.py test" runs tests of the package, while some require running them in a different way. > how can i make setup.py fail when a dependency isn't met? Make the tests fail, or find if easy_install/pip can install with checking dependencies but not installing them. > or how should > i programatically pull a pypi package and every dependency and generate > correct pkgbuilds from them? Check how pip does this and generate PKGBUILDs.
signature.asc
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
