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 far easier

Re: Requires: python(foo) = bar

2012-05-12 Thread Jeffrey Johnson
On May 12, 2012, at 4:04 AM, Anders F Björklund a...@rpm5.org 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 the

Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
) 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. So one approach to better Requires: python(foo) = bar would

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

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 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. For better

Re: Requires: python(foo) = bar

2012-05-11 Thread Per Øyvind Karlsen
2012/5/11 Tim Mooney tim.moo...@ndsu.edu: 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

Re: Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
On May 11, 2012, at 2:46 PM, Tim Mooney tim.moo...@ndsu.edu 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.9 and meaning

Re: Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
On May 11, 2012, at 2:46 PM, Tim Mooney tim.moo...@ndsu.edu 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.9 and meaning

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 tim.moo...@ndsu.edu wrote: In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at 2:11pm...: Matthew Dawkins mentioned an interest in better python module

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 Mark Hatle
://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 format (which is pretty damn trivial, even sed(1) is almost enough) to automagically

Re: Requires: python(foo) = bar

2012-05-11 Thread Jeffrey Johnson
-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 format