Can py2app
be set up such that the typical contents of a user's sys.path
(when running python, not a py2app .app) are appended at the end of the path that py2app sets up?
I am bundling an application with an interactive python prompt -- I would like other users to be able to use modules they have built, but which are not provided in the main .app. If they try to import something that is bundled with py2app
, I'd prefer that the py2app
version be used.
The --use-pythonpath
and --site-packages
options to py2app
don't seem to add all the directories that regular python does.