<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 14 Jul, 2008, at 21:58, David A Krauth wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="'Lucida Grande'">Upon a recent upgrade to Leopard, I was having significant difficulties in producing a .app from py2app (wxPython-based), where I had had no trouble previously.</font><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">In the interim, I had upgraded from Tiger, and from the default Apple build of 2.5.1 to MacPython 2.5.2.</font></div><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">One of my stumbling blocks was when I received the following error:</font></div><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">&nbsp;&nbsp; &nbsp;global name 'log' is not define</font></div><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">in setuputils/command/sdist.py:98 (</font><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="'Lucida Grande'">setuptools-0.6c8-py2.5.egg), in function entries_finder:</font></span></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><font class="Apple-style-span" face="'Lucida Grande'"><br></font></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><font class="Apple-style-span" face="'Lucida Grande'">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;log.warn("unrecognized .svn/entries format in %s", dirname)</font></span></font></div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">It appears that:</font></div><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">a) logging hasn't been properly imported</font></div><div><font class="Apple-style-span" face="'Lucida Grande'">b) that due to the recent changes in Subversion 1.5 metadata schema, the "entries_find" can no longer yield a correct result</font></div></span></font></div></blockquote><div><br></div>These are know issues in setuptools, both result from setuptools not supporting subversion 1.5 at all.&nbsp;They might be fixed in the trunk (that is 'easy_install setuptools==0.6dev').</div><div><br></div><div>For the record: the best list to discuss setuptools issues is the distutils-sig (<a href="mailto:distutils-sig@python.org">distutils-sig@python.org</a>).</div><div><br></div><div>Ronald</div><div><br></div><div><br></div></body></html>