Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Python packages which use python setup.py for tests #27

Open
jonasstein opened this issue Nov 12, 2017 · 2 comments
Open

FR: Python packages which use python setup.py for tests #27

jonasstein opened this issue Nov 12, 2017 · 2 comments

Comments

@jonasstein
Copy link
Contributor

Tests should be run with esetup.py, but some ebuilds like
sci-geosciences/tilecache
try to run setup.py directly. This will lead to problems, if more than one python version is possible in the ebuild. In general there is no reason to use it and should be substituted by esetup.py

https://devmanual.gentoo.org/eclass-reference/distutils-r1.eclass/

@mm1ke
Copy link
Owner

mm1ke commented Nov 13, 2017

Ok, is this limited to tests only? setup.py seems to be used quite often..
At least qgrep -N " setup.py test" should be a good start.

@jonasstein
Copy link
Contributor Author

jonasstein commented Nov 13, 2017

Yes, the only the combination " setup.py test" is a hint that something could be wrong.
Of course it would lead to false positives in comments and so on. But I think we can find several broken py packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants