Diez B. Roggisch
2/16/2008 7:16:00 PM
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 seperate files for development but
> distribute the result as a single file.
>
> If this were C, I'd compile and link them and distribute the resulting
> executable. I'm trying to do that, but for Python.
Depending on the OS, there are several options. Ranging from
distributing an .egg (setuptools) over py2exe for windows to py2app on
OSX - and some more, e.g. cx_freeze.
Google for one of the above.
Diez