create Python "make" file
Peter Hansen
peter at engcorp.com
Wed Feb 11 12:34:04 EST 2004
beliavsky at aol.com wrote:
>
> I know that you do not need a make file to run a Python program -- it
> looks for the needed sources files in the working directory and in
> directories in the path. But it is convenient to know what Python
> source files a program uses, if you want to back up a program or send
> it to a colleague.
>
> Has anyone written a Python tool that looks at all the Python source
> files in a directory and constructs lists of sources, each of which
> comprises a program?
In effect py2exe and its ilk do just that. You should be able to
find the relevant chunks of code in there for re-use if you wish.
-Peter
More information about the Python-list
mailing list