<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 10:20 AM, Glyph Lefkowitz <span dir="ltr"><<a href="mailto:glyph@twistedmatrix.com" target="_blank">glyph@twistedmatrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":112" class="a3s" style="overflow:hidden">If you put your tests outside your package, then you can't install the tests for two packages simultaneously, because everyone's tests are just in the top-level package "tests". This tends to infest the whole package, since then tests import things from each other using 'from tests import ...'. This is recommended by the hitchhiker's guide, and seconded by <<a href="http://as.ynchrono.us/2007/12/filesystem-structure-of-python-project_21.html" rel="noreferrer" target="_blank">http://as.ynchrono.us/2007/12/filesystem-structure-of-python-project_21.html</a>>.</div></blockquote></div><br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I don't want to be harsh here but arguments would be way more interesting to discuss, as opposed to giving links to JPC's outdated packaging guide. He's an exceptional developer but many of the things inside that article are out of fashion (he disagrees about using console_scripts entrypoints, doesn't understand what src is for and so on).<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I don't think anyone would ever intentionally put a "tests" package in site-packages, why would you mention that?<br></div><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span style="font-family:trebuchet ms,sans-serif"><span style="color:rgb(51,51,51)"><br><font size="2"><span style="color:rgb(51,51,51)">Thanks,</span><br><span style="color:rgb(153,153,153)">-- Ionel</span></font></span><font size="2"><font style="color:rgb(153,153,153)"> Cristian Mărieș, <a href="http://blog.ionelmc.ro" target="_blank">http://blog.ionelmc.ro</a><br></font></font></span></div></div></div></div></div></div></div>
</div></div>