Commercial Products in Python

Grant Edwards invalid at invalid
Tue Oct 21 15:51:34 EDT 2008


On 2008-10-21, Paulo J. Matos <pocmatos at gmail.com> wrote:
> Grant Edwards wrote:
>> On 2008-10-21, Paulo J. Matos <pocmatos at gmail.com> wrote:
>>> Hi all,
>>>
>>> I was just wondering, if you wish to commercialize an application
>>> developed in Python, what's the way to go?
>>> I guess the only way is to sell the source, right?
>>>
>>> This is because (and tell me if I am wrong):
>>> 1) You can't sell an executable because Python doesn't compile to native
>>> code (the usual approach, afaik);
>>> 2) You can't sell the bytecode, otherwise you get the client stuck with
>>> a specific python version (given bytecode might vary between versions)
>>> (the alternative);
>> 
>> You can bundle bytecode with a minimal Python snapshot into an
>> "application".  Under Windows, it'll be mostly .dll, .zip, and
>> .exe files, so the customer need not know it's Python at all
>> (though it's not hard for an experienced person to figure that
>> out).
>> 
>
> Ah, ok, thanks, that's exactly what I wanted to know! :) So, there is an
> automatic way of creating a python 'package' that bundles the source
> code with a Python snapshot! :)

No, one usually bundles bytecode.

> Any reference on how to do that?

It's already been posted in this thread.

-- 
Grant Edwards                   grante             Yow! Why is it that when
                                  at               you DIE, you can't take
                               visi.com            your HOME ENTERTAINMENT
                                                   CENTER with you??



More information about the Python-list mailing list