[Pythonmac-SIG] ANN: py2app / bdist_mpkg 0.1.5 preview
bob at redivi.com
Tue Nov 2 02:32:37 CET 2004
On Nov 1, 2004, at 20:21, Cliff Wells wrote:
> On Thu, 2004-10-21 at 00:35 -0400, Bob Ippolito wrote:
>> I've put together a little preview of py2app 0.1.5, which has MAJOR
>> feature enhancements over 0.1.4.
>> http://undefined.org/python/py2app-0.1.5.mpkg.zip (installer for Mac
>> OS X 10.3)
> I'm trying to use this version of py2app. I'm encountering the
> following error:
> error: can't copy 'favorites': doesn't exist or not a regular file
> This is true: favorites is a directory, not a regular file. However
> same setup.py works for Windows, Linux *and* on OS X (if I use 'python
> setup.py py2app' rather than 'python setup.py bdist_mpkg').
> data_files=[('', ['DU_Icon.ico', 'favorites', 'icons',
> For 'favorites' and 'icons' I could simply use glob. However the
> 'themes' directory is about three levels deep and I'd like to avoid
> having to do a ton of work to generate that particular file list, esp
> since it is large and changes frequently.
Try passing it in as just:
data_files=['DU_Icon.ico', 'favorites', 'icons', 'themes']
when using py2app, for now.
More information about the Pythonmac-SIG