1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
Source: snakefood
Section: python
Priority: optional
Maintainer: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
Uploaders: Sandro Tosi <morph@debian.org>
Build-Depends: debhelper (>= 7), python
Build-Depends-Indep: python-support
Standards-Version: 3.8.3
Homepage: http://furius.ca/snakefood/
Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/snakefood/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/snakefood/trunk/
XS-Python-Version: >= 2.5
Package: snakefood
Architecture: all
XB-Python-Version: ${python:Versions}
Depends: ${python:Depends}, ${misc:Depends}
Description: Python dependency grapher
Generate dependency graphs from Python code. This dependency tracker
package has a few distinguishing characteristics:
.
* It uses the AST to parse the Python files. This is very reliable,
it always runs.
* No module is loaded. Loading modules to figure out dependencies is
almost always problem, because a lot of codebases run
initialization code in the global namespace, which often requires
additional setup. Snakefood is guaranteed not to have this problem
(it just runs, no matter what).
* It works on a set of files, i.e. you do not have to specify a
single script, you can select a directory (package or else) or a
set of files. It finds all the Python files recursively
automatically.
* Automatic/no configuration: your PYTHONPATH is automatically
adjusted to include the required package roots. It figures out the
paths that are required from the files/directories given as
input. You should not have to setup ANYTHING.
* It does not have to automatically 'follow' dependencies between
modules, i.e. by default it only considers the files and
directories you specify on the command-line and their immediate
dependencies. It also has an option to automatically include only
the dependencies within the packages of the files you specify.
* It follows the UNIX philosophy of small programs that do one thing
well: it consists of a few simple programs whose outputs you
combine via pipes.
.
This package will install the following programs:
.
* sfood - detect import statements using the AST parser
* sfood-checker - check for superfluous import statements in Python source
code
* sfood-cluster - read snakefood dependencies from stdin and cluster according
to filenames
* sfood-copy - read a snakefood dependencies file and flatten and output the
list of all files
* sfood-flatten - read a snakefood dependencies file and flatten and output
the list of all files
* sfood-graph - read snakefood dependencies and output a visual graph
* sfood-imports - parse Python files and output a unified list of imported
symbols
|