[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Extracting python dependencies automatically

On Wed, Aug 15, 2007 at 04:51:06PM +0300, Panu Matilainen wrote:
> Started looking into possibilities of extracting python dependency 
> information similarly to perl dependencies...

Cool. This would be nice to have.

> For requires, try to locate any python scripts and modules and for each 
> found, run them through python's modulefinder which attempts to figure out 
> which modules a script/module uses. Then, based on the filenames gotten 
> from modulefinder results, turn them into python(<name>) entries, for 
> example:
> [pmatilai localhost ~]$ rpm -ql createrepo|./pythondeps.py -R
> python(_sqlitecache)

Something wonky is going on here, I think. Nothing should be importing
_sqlitecache besides sqlitecachec, so maybe modulefinder is recursing?


Attachment: pgpkSF6ic0mXP.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]