[Pythonmac-SIG] Building apps with hardcoded options using py2app
Nicholas Riley
njriley at uiuc.edu
Mon Apr 17 23:48:16 CEST 2006
On Mon, Apr 17, 2006 at 04:59:21PM -0400, Mike Covill wrote:
> I would like to package up different versions of our application
> which we normally specify on the command line with different command
> line options. For
> example:
> myapp.py
> or
> myapp.py -sim
>
> Can I use py2app to make different 'double-clickable' applications
> that would give us the same functionality? If so, how? Where would
> I specify the options?
Use -argv-inject. python setup.py py2app --help for more information.
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
More information about the Pythonmac-SIG
mailing list