merwok at netwok.org
Sun Apr 3 13:15:24 PDT 2011
> Do any of you have useful software that scans source code to determine
> its dependencies?
Python has the modulefinder module/script in its standard library. You
can hook it into another tool to map Python module names to OS package
Projects that use setuptools or distribute can also specify their
dependencies (at the project level, not module level) in their setup
script, and this information is preserved after installation. In Python
3.3, this will be standardized (see PEP 376 and the distutils2 project).
Some projects use other formats: pip freeze files, buildout config
files, fabric fabfiles, etc.
More information about the Distributions