By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 1,828 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

create Python "make" file

P: n/a
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?
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
be*******@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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.