Re: py2app: How can I run tests using the bundled python interpreter?

"Berg, Stuart" <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
Hi Ronald,

> Recent versions of py2app have a way to specify secondary python scripts to be included in the app bundle (the --extra-scripts option, introduced in version 0.7). You could use that to include the test script in the app bundle and launch it using the helper binary in ./dist/MyBundle.app/Contents/MacOS. 

The --extra-scripts option will satisfy my needs.  Thanks!  Somehow I overlooked this option when reading the documentation. I didn't understand what this option actually did.

> A helper script to launch a script with the right environment could also be useful (that way you don't have to copy your script in the application bundle). Could you file an issue about this in the py2app tracker (<https://bitbucket.org/ronaldoussoren/py2app/issues>)?

Done!  (Issue #125)

Thanks for your help, and thanks for your great work on py2app!

Cheers,
Stuart

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.