Re: Tool for finding external dependencies

2007-07-13 Thread syt
On Jul 9, 3:39 am, Rob Cakebread <[EMAIL PROTECTED]> wrote: > Hi, > > I need to find external dependencies for modules (not Python standard > library imports). > > Currently I usepylintand manually scan the output, which is very > nice, or usepylint's--ext-import-graph option to create a .dot file

Re: Tool for finding external dependencies

2007-07-10 Thread John J. Lee
Rob Cakebread <[EMAIL PROTECTED]> writes: > Hi, > > I need to find external dependencies for modules (not Python standard > library imports). > > Currently I use pylint and manually scan the output, which is very > nice, or use pylint's --ext-import-graph option to create a .dot file > and extract

Re: Tool for finding external dependencies

2007-07-09 Thread Rob Cakebread
On Jul 9, 9:23 am, Alex Popescu <[EMAIL PROTECTED]> wrote: > Isn't it possible to get from modulefinder what it has found and just > filter it out according to your rules? > This way you are in control and can deicde what is internal/external. > At first glance it looked easy enough, by just filte

Re: Tool for finding external dependencies

2007-07-09 Thread Alex Popescu
On Jul 9, 6:42 pm, Rob Cakebread <[EMAIL PROTECTED]> wrote: > On Jul 9, 7:54 am, [EMAIL PROTECTED] wrote: > > > > > > > mod = modulefinder.ModuleFinder() > > mod.run_script(path/to/python_script.py) > > mod.report() > > > > > > Mike > > Nope. All of those tools and the code above show *all* impo

Re: Tool for finding external dependencies

2007-07-09 Thread Rob Cakebread
On Jul 9, 7:54 am, [EMAIL PROTECTED] wrote: > > > mod = modulefinder.ModuleFinder() > mod.run_script(path/to/python_script.py) > mod.report() > > > > Mike Nope. All of those tools and the code above show *all* imports/ dependencies, which is way too much information. I just need the 'external'

Re: Tool for finding external dependencies

2007-07-09 Thread kyosohma
On Jul 9, 9:27 am, Rob Cakebread <[EMAIL PROTECTED]> wrote: > On Jul 9, 7:17 am, [EMAIL PROTECTED] wrote: > > > > > Recently I ran into some debugging issues and the freeware app > > "Dependency Walker" was suggested to me. I still haven't used it much > > since I only got it last Friday, but it lo

Re: Tool for finding external dependencies

2007-07-09 Thread Rob Cakebread
On Jul 9, 7:17 am, [EMAIL PROTECTED] wrote: > > Recently I ran into some debugging issues and the freeware app > "Dependency Walker" was suggested to me. I still haven't used it much > since I only got it last Friday, but it looks > promising:http://www.dependencywalker.com > > Mike Thanks Mike,

Re: Tool for finding external dependencies

2007-07-09 Thread kyosohma
On Jul 8, 8:39 pm, Rob Cakebread <[EMAIL PROTECTED]> wrote: > Hi, > > I need to find external dependencies for modules (not Python standard > library imports). > > Currently I use pylint and manually scan the output, which is very > nice, or use pylint's --ext-import-graph option to create a .dot f

Tool for finding external dependencies

2007-07-08 Thread Rob Cakebread
Hi, I need to find external dependencies for modules (not Python standard library imports). Currently I use pylint and manually scan the output, which is very nice, or use pylint's --ext-import-graph option to create a .dot file and extract the info from it, but either way can take a very long ti