Re: Problem with py2exe

Philippe Roussel <[email protected]>
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
On Thu, May 24, 2007 at 08:28:06PM -0500, Ian Bicking wrote:
> 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.

It sure is better and works fine, thanks.

Philippe
-- 
Quand les types de 130 kilos disent certaines choses, les types de 60 kilos les écoutent.. M. Audiard


-------------------------------------------------------------------------
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.