On 5/14/08 10:43 AM, "Thomas Heller" <theller@...> wrote:
> Tim van der Leeuw schrieb:
>> It seems that py2exe doesn't support Python 2.5 relative imports.
>
> This is true, the modulefinder used in py2exe doesn't support them.
> The modulefinder from Python 2.6 (svn trunk) should be merged into py2exe.
This is now in CVS:
http://py2exe.cvs.sourceforge.net/py2exe/py2exe/py2exe/mf.py?revision=1.7
I haven't tried, but you can probably drop the new version of this file into
your site-packages\py2exe directory to get support for relative imports
while you wait for an official release.
Regards,
Jimmy
|