<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Eric,<br>
<br>
On 11.11.12 22:45, Eric Snow wrote:<br>
</div>
<blockquote
cite="mid:CALFfu7AGJOaAu=z7x1e-GWwmaWo+G_HOFsAR=_G7x5X70t57MQ@mail.gmail.com"
type="cite">
<div>On Sun, Nov 11, 2012 at 1:53 PM, Christian Tismer <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:tismer@stackless.com" target="_blank">tismer@stackless.com</a>></span>
wrote:<br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Once
again on this:<br>
<br>
With the introduction of module folders<br>
without __init__, it has become even harder to deduce a
sensible project root<br>
Dir without relying on a global settings file. Abd as you
probably agree, such files are a bad idea. Any global is
bad, also in the file system.<br>
<br>
Guido, this is another reason why I dislike the absence of
__init__. :<br>
<br>
Rhere is no longer an indicator that pretty clearly defines
the root of my module heirarchy.<br>
</blockquote>
<div><br>
</div>
<div> This came up during the discussions leading up to PEP
420, particularly regarding the impact on PEP 395. My
thoughts at the time on addressing the problem:</div>
<div><br>
</div>
<a moz-do-not-send="true"
href="http://mail.python.org/pipermail/import-sig/2012-March/000438.html">http://mail.python.org/pipermail/import-sig/2012-March/000438.html</a><br>
<div class="gmail_extra"><br>
</div>
</div>
</div>
</blockquote>
<br>
I do not quite understand what you want to propose:<br>
<br>
"""<br>
<meta charset="utf-8">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">* there is no __init__.py in the current directory (in the case where
there was one adjacent to the original module)
* current directory is on sys.path
* setup.py is in the current directory
</pre>
"""<br>
<br>
Are you saying that this is a way for me to get at the project root?<br>
And can this be done with a one-liner, or would I need a module for
that,<br>
where the cat would bite its tail, because that module would not be
found,<br>
easily?<br>
<br>
Please tell me in a simpler way what you think ;-)<br>
<br>
ciao - Chris<br>
<pre class="moz-signature" cols="72">--
Christian Tismer :^) <a class="moz-txt-link-rfc2396E" href="mailto:tismer@stackless.com"><mailto:tismer@stackless.com></a>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* <a class="moz-txt-link-freetext" href="http://starship.python.net/">http://starship.python.net/</a>
14482 Potsdam : PGP key -> <a class="moz-txt-link-freetext" href="http://pgp.uni-mainz.de">http://pgp.uni-mainz.de</a>
phone +49 173 24 18 776 fax +49 (30) 700143-0023
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? <a class="moz-txt-link-freetext" href="http://www.stackless.com/">http://www.stackless.com/</a></pre>
</body>
</html>