finding used modules

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guyon Morée

    finding used modules

    Hi,

    I'm developing an application with Delphi+Python. Distributing such an
    application requires me to include all the used modules + python23.dll.

    At the moment I'm using 'trial-and-error' on a pc without python on it to
    see which modules it is missing.

    What I'm asking is: Is there any tool/module which can help me in this
    process?

    Cheers,
    Guyon


  • Sylvain Thenault

    #2
    Re: finding used modules

    On Mon, 29 Mar 2004 10:57:44 +0200, Guyon Morée wrote:
    [color=blue]
    > Hi,
    >
    > I'm developing an application with Delphi+Python. Distributing such an
    > application requires me to include all the used modules + python23.dll.
    >
    > At the moment I'm using 'trial-and-error' on a pc without python on it to
    > see which modules it is missing.
    >
    > What I'm asking is: Is there any tool/module which can help me in this
    > process?[/color]

    Pylint [1] does external dependencies analysis, ie it gives you a list of
    imported modules which are not parts of the python standard library.
    A quick hack could make it include all imported modules.

    [1] http://www.logilab.org/projects/pylint

    --
    Sylvain Thénault LOGILAB, Paris (France).

    http://www.logilab.com http://www.logilab.fr http://www.logilab.org


    Comment

    Working...