Extracting python dependencies automatically

Jeff Spaleta jspaleta at gmail.com
Wed Aug 15 16:36:25 UTC 2007


On 8/15/07, Panu Matilainen <pmatilai at redhat.com> wrote:
> 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

> Thoughts / comments?

Do you have any mechanism to distinguish optional modules from hard
requirement modules? Some python applications will test for the
availability of a module through a via an exception test for optional
features and then gracefully continue if its not available.

Looking 20 minutes into the future, is this aimed at into rpmbuild's
automatic dependancy generation scripts?

-jef




More information about the devel mailing list