<div class="gmail_extra"><br><br><div class="gmail_quote">On 19 April 2012 21:18, Eric V. Smith <span dir="ltr"><<a href="mailto:eric@trueblade.com" target="_blank">eric@trueblade.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This reflects (I hope!) the discussions at PyCon. My plan is to produce<br>
an implementation based on the importlib code, and then flush out pieces<br>
of the PEP.<br>
<br>
In particular, I want to make sure the PEP addresses the various<br>
objections that were raised, especially by Nick.<br>
<br></blockquote><div><br>So a namespace package is a directory (tree) on sys.path. For a standard Python install how will these be installed? <br><br>If you need to install "foo.bar" and "foo.baz" will distutils and packaging do the right thing? (And what specifically is the right thing for Python's own package management tools - merging the namespace packages or keeping them separate somehow?)<br>
<br>setuptools creates a new directory for each installed package and adds this directory to sys.path using pth files. It's a bit of a hack, but it allows namespace packages to co-exist.<br><br>Michael<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Eric.<br>
<br>
_______________________________________________<br>
Import-SIG mailing list<br>
<a href="mailto:Import-SIG@python.org">Import-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/import-sig" target="_blank">http://mail.python.org/mailman/listinfo/import-sig</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><pre cols="72"><a href="http://www.voidspace.org.uk/" target="_blank">http://www.voidspace.org.uk/</a><br><br>May you do good and not evil<br>May you find forgiveness for yourself and forgive others<br>
May you share freely, never taking more than you give.<br>-- the sqlite blessing <a href="http://www.sqlite.org/different.html" target="_blank">http://www.sqlite.org/different.html</a></pre>
<br>
</div>