Re: Requires: python(foo) = bar

2012-05-12 Thread Jeffrey Johnson
On May 12, 2012, at 4:04 AM, Anders F Björklund wrote: > Jeffrey Johnson wrote: > >>> I used http://docs.python.org/library/modulefinder.html >>> and then filtered out some boring ones like sys and os. >>> >> >> Yes modulefinder included in python is the right starting point. >> >> I'd stub

Re: Requires: python(foo) = bar

2012-05-12 Thread Anders F Björklund
Jeffrey Johnson wrote: >> I used http://docs.python.org/library/modulefinder.html >> and then filtered out some boring ones like sys and os. >> > > Yes modulefinder included in python is the right starting point. > > I'd stub the Provides: rather than filter the Requires: because WYSIWYG > is f

Re: Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
http://pypi.python.org/pypi/modulegraph/ >> >> There's also (useful for verifying but not for generating dependencies >> because it requires loading modules) >> http://www.indelible.org/ink/python-reloading/ >> with a perhaps even simpler script here >>

Re: Requires: python(foo) = bar

2012-05-11 Thread Mark Hatle
ython-reloading/ with a perhaps even simpler script here http://code.activestate.com/recipes/577222-create-module-dependency-graph/ All of these are python scripts are generating *.dot output. So one approach to better Requires: python(foo) = bar would be to write a parser for *.dot

Re: Requires: python(foo) = bar

2012-05-11 Thread Tim Mooney
In regard to: Re: Requires: python(foo) = bar, Jeffrey Johnson said (at...: Meanwhile the very ida of running multiple versions of ruby and modules out of a per-user shadow tree in ~/.rvm drove me to some serious drinking to forget what I saw ;-) Ruby, in general, has inspired beverage

Re: Requires: python(foo) = bar

2012-05-11 Thread Tim Mooney
In regard to: Re: Requires: python(foo) = bar, Jeffrey Johnson said (at...: On May 11, 2012, at 2:46 PM, Tim Mooney wrote: In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at 2:11pm...: Matthew Dawkins mentioned an interest in better python module dependencies in RPM

Re: Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
On May 11, 2012, at 2:46 PM, Tim Mooney wrote: > In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at 2:11pm...: > >> Matthew Dawkins mentioned an interest in better python module >> dependencies in RPM earlier today. > > I'm still running rpm 5.1.

Re: Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
On May 11, 2012, at 2:46 PM, Tim Mooney wrote: > In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at 2:11pm...: > >> Matthew Dawkins mentioned an interest in better python module >> dependencies in RPM earlier today. > > I'm still running rpm 5.1.

Re: Requires: python(foo) = bar

2012-05-11 Thread Per Øyvind Karlsen
2012/5/11 Tim Mooney : > In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at > 2:11pm...: > > >> Matthew Dawkins mentioned an interest in better python module >> dependencies in RPM earlier today. > > > I'm still running rpm 5.1.9 and meaning

Re: Requires: python(foo) = bar

2012-05-11 Thread Tim Mooney
In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at 2:11pm...: Matthew Dawkins mentioned an interest in better python module dependencies in RPM earlier today. I'm still running rpm 5.1.9 and meaning to upgrade, but I've been meaning to ask about ruby dependencies.

Re: Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
On May 11, 2012, at 2:32 PM, Anders F Björklund wrote: > Jeffrey Johnson wrote: > >> Matthew Dawkins mentioned an interest in better python module >> dependencies in RPM earlier today. > > There was a half-hearted attempt at this, earlier on: > http://afb.users.sourceforge.net/rpm/pythondeps.py

Re: Requires: python(foo) = bar

2012-05-11 Thread Anders F Björklund
Jeffrey Johnson wrote: > Matthew Dawkins mentioned an interest in better python module > dependencies in RPM earlier today. There was a half-hearted attempt at this, earlier on: http://afb.users.sourceforge.net/rpm/pythondeps.py > A google search for "python module dependency graph" shows > some

Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
rating dependencies because it requires loading modules) http://www.indelible.org/ink/python-reloading/ with a perhaps even simpler script here http://code.activestate.com/recipes/577222-create-module-dependency-graph/ All of these are python scripts are generating *.dot output.