crossplatform standalone python apps

Gabriel Rossetti gabriel.rossetti at arimaz.com
Thu Oct 23 02:33:07 EDT 2008


Martin v. Löwis wrote:
>> I like to create a cross-platform standalone python application, like
>> Mac OS *.app dirs. The idea is to distribute a zip file containing
>> everything (the python interpreter and all) so that a user just unzips
>> it and runs it. 
>>     
>
> I don't think this can possibly work. If the zipfile contains the Python
> interpreter, it can't possibly work on all platforms - the Python
> interpreter is run as native machine code of the respective CPU.
>   
yes, I know that :-), I ment everything that can be, my problem is more 
with PYTHONPATH and stuff like that.
> So either you drop the requirement that the zipfile must be
> cross-platform, or you drop the requirement that the Python interpreter
> is included in the zipfile.
>
> Notice that Mac OS *.app dirs are *not* cross-platform, either - they
> only work on Mac OS.
>   
Yes, I also know that, I was giving them as an example of how I'd like 
it to work (out of the box)
> Regards,
> Martin
>   
Regards,
Gabriel



More information about the Python-list mailing list