-
-
Notifications
You must be signed in to change notification settings - Fork 533
Switch to src/ layout? #826
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
Comments
Yeah definitely this needs to happen. |
Yep. Definitely a good idea. |
Some additional remarks on this, even when I seem to have pushed at an open door with this proposal here. I think using this layout specifically in the context of projects using pytest and/or tox should be generally recommended. The reasoning behind this is layed out very well here in the pytest docs. Now, if you actually are pytest or tox and therefore testing yourself with yourself (how wonderfully meta is that?), this should be the obvious layout choice. Also: the vision of tox is to support and promote good testing and packaging practices, so the way how the project itself is structured should follow its own advice. |
@obestwalter this is now fixed |
Thanks @gaborbernat! |
While we are in tidy up mode: How about switching the project to src/ layout (pypa/packaging.python.org#320 - especially: pypa/packaging.python.org#320 (comment)) - we have that kind of layout.
Apart from avoiding potential gotchas, this would make it trivial to run the tests of a checkout against a diffferent version of tox that is installed.
The text was updated successfully, but these errors were encountered: