1. Ronald Oussoren
  2. py2app
  3. Issues

Issues

Issue #29 resolved

extensions and packages not present in .app sys.path

Georgios Panagiotou
created an issue

I build an app where I use the wx package, using os version 10.6.8 and system python 2.6. Although the package gets copied over to:

.app/Contents/Resources/lib/python2.6/wx

the same path is not present in sys.path at runtime

For the time being I have to insert the path to wx in the sys.path at runtime. I got the same behavior when trying to include the pycurl extension (pycurl.so) in lib-dynload, so I guess (?) it affects py2app 0.6.3 in general.

Comments (3)

  1. Ronald Oussoren repo owner

    That's odd, this seems to work fine with my VM running OSX 10.6.8, using a prerelease of py2app 0.6.4.

    I did have to replace the main executable in the app bundle by one that only contains support for 32-bit architectures though because wxWidgets on 10.6 does not support 64-bit code.

  2. Log in to comment