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

2008-03-03 Thread Edward A. Falk
In article <[EMAIL PROTECTED]>, George Sakkis <[EMAIL PROTECTED]> wrote: > >What's so complicated about "python setup.py install" ? Even that is >not strictly necessary for pure python packages; a user may just >unpack the archive, cd to the extracted directory and execute the >appropriate .py fil

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

2008-02-21 Thread Diez B. Roggisch
Edward A. Falk schrieb: > In article <[EMAIL PROTECTED]>, > BlueBird <[EMAIL PROTECTED]> 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.

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

2008-02-21 Thread George Sakkis
On Feb 21, 1:58 am, [EMAIL PROTECTED] (Edward A. Falk) wrote: > In article <[EMAIL PROTECTED]>, > > BlueBird <[EMAIL PROTECTED]> 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 refer

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

2008-02-20 Thread Edward A. Falk
In article <[EMAIL PROTECTED]>, BlueBird <[EMAIL PROTECTED]> 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 py

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

2008-02-18 Thread BlueBird
On Feb 16, 7:53 pm, [EMAIL PROTECTED] (Edward A. Falk) wrote: > IOW, is there a "linker" for python? I've written a program comprised of > about > five .py files. I'd like to find a way to combine them into a single > executable. I wrote a small wiki page to sum-up my findings about such typica

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

2008-02-17 Thread Stephen Brown
Take a look at Fred Lundh's Squeeze programme. quote ... " If all you need is to wrap up a couple of Python scripts and modules into a single file, Squeeze might be what you need. The squeeze utility can be used to distribute a complete Python application as one or two files, and run it using

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

2008-02-16 Thread Paul Rubin
"Brian Smith" <[EMAIL PROTECTED]> writes: > So does Haskell. Haskell All-In-One handles that by renaming every > top-level artifact. That can't be done reliably in python because namespaces are dynamic. > If it is possible to run an egg as a CGI (without modifying the web > server configuration f

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

2008-02-16 Thread Brian Smith
Diez B. Roggisch wrote: > Brian Smith wrote: > > I would be interested in a program that can combine > > multiple modules into a single module, which removes > > all the inter-package imports and fixes other > > inter-module references, like Haskell > > All-in-One does for Haskell: > > http://www

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

2008-02-16 Thread Diez B. Roggisch
Brian Smith schrieb: > Diez B. Roggisch wrote: >> Edward A. Falk schrieb: >>> IOW, is there a "linker" for python? I've written a >>> program comprised of about five .py files. I'd like to >>> find a way to combine them into a single executable. >>> Obviously, I could hand-edit them into a single

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

2008-02-16 Thread Brian Smith
Diez B. Roggisch wrote: > Edward A. Falk schrieb: > > IOW, is there a "linker" for python? I've written a > > program comprised of about five .py files. I'd like to > > find a way to combine them into a single executable. > > Obviously, I could hand-edit them into a single > > .py file, but I'm

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

2008-02-16 Thread Diez B. Roggisch
Edward A. Falk schrieb: > IOW, is there a "linker" for python? I've written a program comprised of > about > five .py files. I'd like to find a way to combine them into a single > executable. Obviously, I could hand-edit them into a single .py file, but > I'm looking for a way to keep them as s

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

2008-02-16 Thread Edward A. Falk
IOW, is there a "linker" for python? I've written a program comprised of about five .py files. I'd like to find a way to combine them into a single executable. Obviously, I could hand-edit them into a single .py file, but I'm looking for a way to keep them as seperate files for development but d