Is there a way to "link" a python program from several files?

Diez B. Roggisch deets at nospam.web.de
Thu Feb 21 03:52:43 EST 2008


Edward A. Falk schrieb:
> In article <0f3e4884-59f8-4db8-a2a3-6f6d4fc14275 at u72g2000hsf.googlegroups.com>,
> BlueBird  <phil at freehackers.org> wrote:
>> I wrote a small wiki page to sum-up my findings about such typical
>> problem:
>>
>> http://www.freehackers.org/Packaging_a_python_program
>>
> 
> Excellent references, but maybe a bit of overkill.  Everybody in my
> target audience has python on their systems, I just want to send a
> single .py (or .pyc) file so there's no complicated install procedure.
> 
> I mean, how *are* large python programs normally distributed under Linux?

By means of their package management. At least that's what many people 
prefer.

But I don't get what's wrong with


you: python setup.py bdist_egg

your client: easy_install the.egg



Diez



More information about the Python-list mailing list