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

Re: Extracting python dependencies automatically



On 8/15/07, Panu Matilainen <pmatilai 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


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