commit | ba1c13db4fbebd7fd1917937a0fe3822068dfc5e | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Fri Aug 02 14:57:43 2002 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Fri Aug 02 14:57:43 2002 +0000 |
tree | 9349740757e81d3b80fc6630edd8f6a9daaeb24c | |
parent | a9454e21a70fecfe3686682ea4de716a75a3d828 [diff] |
Final step in making applets first-class citizens: if the applet wants argv emulation (i.e. if the end user drops files and folders on the applets these will show up in sys.argv) BuildApplet will add the required code to the applet bundle, in __rawmain__.pyc. This code is compiled from appletrawmain.py, it creates sys.argv, cleans up most of the mess and executes either __main__.py or __main__.pyc.