Re: Problem with py2exe

Ian Bicking <[email protected]>
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
Philippe Roussel wrote:
> Hi all,
> 
> I'm trying to package an application using FormEncode with py2exe. The
> resulting exe ends with the following error :
> 
> NotImplementedError: resource_filename() only supported for .egg, not .zip
> 
> As I didn't understand why api.py used resource_filename from
> setuptools, I tried to use something simpler. The following patch
> works for me but I have no idea if it's correct. What do you think ?

Not really, but I think I made a fix in the trunk that should work for you.

-- 
Ian Bicking | [email protected] | http://blog.ianbicking.org
             | Write code, do good | http://topp.openplans.org/careers

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.