[Pythonmac-SIG] py2app not copying PySerial module

Brendan Simon (eTRIX) Brendan.Simon at eTRIX.com.au
Wed Jun 24 07:09:01 CEST 2009


I'm running py2app for the first time -- following the instructions on
the web.

I've created an app bundle but running the app fails as it can't find a
module named "serial".

The "serial" module is part of PySerial-2.4.  I couldn't find serial.py
on my system but notice that there is a pyserial-2.4-py2.5.egg in the
site-packages directory.  The `file` command tells me it's a zip file
and `unzip -l` shows the serial/*.py files.

Is there a way to include the serial module in the app bundle ??

I've played with --includes and --packages py2app options without any
success.

Is there a way to include eggs with py2app ??  I'm thinking not based on
the web page information.

There must be a way to resolve this, either through py2app or some
manual tweaking.

Thanks for any help,
Brendan.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Brendan_Simon.vcf
Type: text/x-vcard
Size: 267 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090624/8cdf774a/attachment.vcf>


More information about the Pythonmac-SIG mailing list