[Pythonmac-SIG] Adding missing modules in py2app

Bob Ippolito bob at redivi.com
Wed May 4 18:16:50 CEST 2005


On May 4, 2005, at 8:41 AM, konrad.hinsen at laposte.net wrote:

> I noticed that py2app systematically leaves out some extension modules
> when I build an application package.  I don't really blame it, as they
> reside in a directory that is only added to sys.path when some other
> module is imported, but I am looking for a way to tell py2app to
> include them nevertheless.
>
> At first I though the package option would do this, but after some
> experimentation and an inspection of the examples, it seems that it
> will only add Python packages (as it does with distutils in general).
> ext_modules is not what I want either, the modules are already built
> and installed, I just want them to be included.
>
> Is there some other approach that I could try?

Modify sys.path in your setup script.

-bob



More information about the Pythonmac-SIG mailing list