On May 17, 8:54 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > "eliben" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > | Is there a simple way to find out which packages are used by my > | script ? > > Ggrep for import statements?
This isn't very comprehensive :-) > (But that only only gives direct dependencies.) > Does py2exe have an option to output the list it collects?| > I think people have mentioned such here. Digging around the standard library documentation, I came upon the 'modulefinder' module, which seems to be able to do what I want, at least in terms of finding all the modules used. I wonder how difficult it should be to wrap something around modulefinder that copies all the relevant modules into a local directory and modifies sys.path accordingly. Eli -- http://mail.python.org/mailman/listinfo/python-list