[Python-apps-commits] r2152 - in packages/snakefood/trunk (16 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Jan 2 21:01:41 UTC 2009


    Date: Friday, January 2, 2009 @ 21:01:40
  Author: morph
Revision: 2152

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/snakefood/trunk/debian/
  packages/snakefood/trunk/debian/changelog
  packages/snakefood/trunk/debian/compat
  packages/snakefood/trunk/debian/control
  packages/snakefood/trunk/debian/copyright
  packages/snakefood/trunk/debian/docs
  packages/snakefood/trunk/debian/links
  packages/snakefood/trunk/debian/rules
  packages/snakefood/trunk/debian/sfood-checker.1
  packages/snakefood/trunk/debian/sfood-cluster.1
  packages/snakefood/trunk/debian/sfood-copy.1
  packages/snakefood/trunk/debian/sfood-flatten.1
  packages/snakefood/trunk/debian/sfood-graph.1
  packages/snakefood/trunk/debian/sfood-imports.1
  packages/snakefood/trunk/debian/sfood.1
  packages/snakefood/trunk/debian/watch


Property changes on: packages/snakefood/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/snakefood/trunk/debian/changelog
===================================================================
--- packages/snakefood/trunk/debian/changelog	                        (rev 0)
+++ packages/snakefood/trunk/debian/changelog	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,5 @@
+snakefood (1.3.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #510350)
+
+ -- Sandro Tosi <morph at debian.org>  Wed, 31 Dec 2008 22:05:03 +0100

Added: packages/snakefood/trunk/debian/compat
===================================================================
--- packages/snakefood/trunk/debian/compat	                        (rev 0)
+++ packages/snakefood/trunk/debian/compat	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1 @@
+7

Added: packages/snakefood/trunk/debian/control
===================================================================
--- packages/snakefood/trunk/debian/control	                        (rev 0)
+++ packages/snakefood/trunk/debian/control	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,56 @@
+Source: snakefood
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <morph at debian.org>
+Build-Depends: debhelper (>= 7), python
+Build-Depends-Indep: python-support
+Standards-Version: 3.8.0
+Homepage: http://furius.ca/snakefood/
+
+Package: snakefood
+Architecture: all
+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. Graphing dependencies always requires the user
+    to filter and cluster the filenames, so this is appropriate. You
+    can combine it with your favourite tools, grep, sed, etc.
+ .
+ This package will install the following executables:
+ .
+  * 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

Added: packages/snakefood/trunk/debian/copyright
===================================================================
--- packages/snakefood/trunk/debian/copyright	                        (rev 0)
+++ packages/snakefood/trunk/debian/copyright	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,22 @@
+This package was debianized by Sandro Tosi <morph at debian.org> on
+Wed, 31 Dec 2008 22:05:03 +0100.
+
+It was downloaded from http://furius.ca/snakefood/
+
+Upstream Author:
+
+    Martin Blais <blais at furius.ca>
+
+Copyright:
+
+    Copyright (C) 2001-2007  Martin Blais. All Rights Reserved.
+
+License:
+
+    GPLv2+
+
+On Debian systems, the complete text of the GNU  General Public License v2
+can be found in `/usr/share/common-licenses/GPL-2' file.
+
+The Debian packaging is copyright 2009, Sandro Tosi <morph at debian.org> and
+is licensed under the same license as upstream code (see above).

Added: packages/snakefood/trunk/debian/docs
===================================================================
--- packages/snakefood/trunk/debian/docs	                        (rev 0)
+++ packages/snakefood/trunk/debian/docs	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,8 @@
+README
+TODO
+doc/snakefood-doc.html
+index.html
+doc/snakefood-doc.txt
+doc/*.png
+doc/*.dia
+doc/talk/outline.txt

Added: packages/snakefood/trunk/debian/links
===================================================================
--- packages/snakefood/trunk/debian/links	                        (rev 0)
+++ packages/snakefood/trunk/debian/links	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,7 @@
+/usr/share/snakefood/sfood		/usr/bin/sfood
+/usr/share/snakefood/sfood-checker	/usr/bin/sfood-checker
+/usr/share/snakefood/sfood-cluster	/usr/bin/sfood-cluster
+/usr/share/snakefood/sfood-copy		/usr/bin/sfood-copy
+/usr/share/snakefood/sfood-flatten	/usr/bin/sfood-flatten
+/usr/share/snakefood/sfood-graph	/usr/bin/sfood-graph
+/usr/share/snakefood/sfood-imports	/usr/bin/sfood-imports

Added: packages/snakefood/trunk/debian/rules
===================================================================
--- packages/snakefood/trunk/debian/rules	                        (rev 0)
+++ packages/snakefood/trunk/debian/rules	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	python setup.py build
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+
+	# Add here commands to clean up after the build process.
+	python setup.py clean
+
+	[ ! -d build ] || rm -rf build
+
+	dh_clean build-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# we'll install both scripts and module under /usr/share/snakefood
+	# and scripts will be symlinked into /usr/bin
+	python setup.py install --root=$(CURDIR)/debian/snakefood --install-lib=/usr/share/snakefood --install-scripts=/usr/share/snakefood
+
+
+# Build architecture-dependent files here.
+binary-arch: install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs	CHANGES
+	dh_installdocs
+	dh_installexamples
+	dh_pysupport
+	dh_installman		debian/sfood*.1
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/snakefood/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/snakefood/trunk/debian/sfood-checker.1
===================================================================
--- packages/snakefood/trunk/debian/sfood-checker.1	                        (rev 0)
+++ packages/snakefood/trunk/debian/sfood-checker.1	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,69 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SFOOD-CHECKER 1 "January 2, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+sfood-checker \- check for superfluous import statements in Python source code
+.SH SYNOPSIS
+.B sfood-checker
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This script is used to detect forgotten imports that are not used anymore. When
+writing Python code (which happens so fast), it is often the case that we forget
+to remove useless imports.
+.PP
+This is implemented using a search in the AST, and as such we do not require to
+import the module in order to run the checks. This is a major advantage over all
+the other lint/checker programs, and the main reason for taking the time to
+write it.
+.PP
+As inputs, it can receive either files or directories; in case no
+argument is passed, it parses the current directory recursively.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show the help message and exit
+.TP
+\fB\-\-debug\fR
+Debugging output.
+.TP
+\fB\-I\fR IGNORES, \fB\-\-ignore\fR=\fIIGNORES\fR
+Add the given directory name to the list to be
+ignored.
+.TP
+\fB\-d\fR, \fB\-\-disable\-pragmas\fR
+Disable processing of pragma directives as strings
+after imports.
+.TP
+\fB\-D\fR, \fB\-\-duplicates\fR, \fB\-\-enable\-duplicates\fR
+Enable experimental heuristic for finding duplicate
+imports.
+.TP
+\fB\-M\fR, \fB\-\-missing\fR, \fB\-\-enable\-missing\fR
+Enable experimental heuristic for finding missing
+imports.
+.SH SEE ALSO
+.BR sfood (1),
+.BR sfood-cluster (1),
+.BR sfood-copy (1),
+.BR sfood-flatten (1),
+.BR sfood-graph (1),
+.BR sfood-imports (1).
+.SH AUTHOR
+sfood-checker was written by Martin Blais <blais at furius.ca> and it's part of snakefood suite.
+.PP
+This manual page was written by Sandro Tosi <morph at debian.org>,
+for the Debian project (and may be used by others).

Added: packages/snakefood/trunk/debian/sfood-cluster.1
===================================================================
--- packages/snakefood/trunk/debian/sfood-cluster.1	                        (rev 0)
+++ packages/snakefood/trunk/debian/sfood-cluster.1	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,44 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SFOOD-CLUSTER 1 "January 2, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+sfood-cluster \- read snakefood dependencies from stdin and cluster according to filenames
+.SH SYNOPSIS
+.B sfood-cluster
+.RI [ options ] " directories" ...
+.SH DESCRIPTION
+You need to call this script with the names of directories to cluster together,
+for relative filenames.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show the help message and exit
+.TP
+\fB\-f\fR FROM_FILE, \fB\-\-from\-file\fR=\fIFROM_FILE\fR
+Read cluster list from the given filename.
+.SH SEE ALSO
+.BR sfood (1),
+.BR sfood-checker (1),
+.BR sfood-copy (1),
+.BR sfood-flatten (1),
+.BR sfood-graph (1),
+.BR sfood-imports (1).
+.SH AUTHOR
+sfood-cluster was written by Martin Blais <blais at furius.ca> and it's part of snakefood suite.
+.PP
+This manual page was written by Sandro Tosi <morph at debian.org>,
+for the Debian project (and may be used by others).

Added: packages/snakefood/trunk/debian/sfood-copy.1
===================================================================
--- packages/snakefood/trunk/debian/sfood-copy.1	                        (rev 0)
+++ packages/snakefood/trunk/debian/sfood-copy.1	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,48 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SFOOD-COPY 1 "January 2, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+sfood-copy \- read a snakefood dependencies file and flatten and output the list of all files
+.SH SYNOPSIS
+.B sfood-copy
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+Read a snakefood dependencies file and flatten and output the list of all files.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show the help message and exit
+.TP
+\fB\-o\fR, \fB\-\-overwrite\fR
+Overwrite the destination files. If this is not set,
+an error is generated if the destination file exists.
+.TP
+\fB\-i\fR, \fB\-\-insert\-package\-inits\fR
+Automatically create missing __init__.py in
+intervening directories.
+.SH SEE ALSO
+.BR sfood (1),
+.BR sfood-checker (1),
+.BR sfood-cluster (1),
+.BR sfood-flatten (1),
+.BR sfood-graph (1),
+.BR sfood-imports (1).
+.SH AUTHOR
+sfood-copy was written by Martin Blais <blais at furius.ca> and it's part of snakefood suite.
+.PP
+This manual page was written by Sandro Tosi <morph at debian.org>,
+for the Debian project (and may be used by others).

Added: packages/snakefood/trunk/debian/sfood-flatten.1
===================================================================
--- packages/snakefood/trunk/debian/sfood-flatten.1	                        (rev 0)
+++ packages/snakefood/trunk/debian/sfood-flatten.1	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,40 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SFOOD-FLATTEN 1 "January 2, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+sfood-flatten \- read a snakefood dependencies file and flatten and output the list of all files
+.SH SYNOPSIS
+.B sfood-flatten
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show the help message and exit
+.SH SEE ALSO
+.BR sfood (1),
+.BR sfood-checker (1),
+.BR sfood-cluster (1),
+.BR sfood-copy (1),
+.BR sfood-graph (1),
+.BR sfood-imports (1).
+.SH AUTHOR
+sfood-flatten was written by Martin Blais <blais at furius.ca> and it's part of snakefood suite.
+.PP
+This manual page was written by Sandro Tosi <morph at debian.org>,
+for the Debian project (and may be used by others).

Added: packages/snakefood/trunk/debian/sfood-graph.1
===================================================================
--- packages/snakefood/trunk/debian/sfood-graph.1	                        (rev 0)
+++ packages/snakefood/trunk/debian/sfood-graph.1	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,50 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SFOOD-GRAPH 1 "January 2, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+sfood-graph \- read snakefood dependencies from stdin and output a visual graph.
+.SH SYNOPSIS
+.B sfood-graph
+.RI [ options ]
+.SH DESCRIPTION
+Read snakefood dependencies from stdin and output a visual graph.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show the help message and exit
+.TP
+\fB\-f\fR, \fB\-\-full\-pathnames\fR, \fB\-\-full\fR
+Output the full pathnames, not just the relative.
+.TP
+\fB\-p\fR, \fB\-\-pythonify\-filenames\fR, \fB\-\-remove\-extensions\fR
+Remove filename extensions in the graph and replace
+slashes with dots.
+.TP
+\fB\-r\fR, \fB\-\-redundant\fR
+Do not eliminate redundant dependencies.
+.SH SEE ALSO
+.BR sfood (1),
+.BR sfood-checker (1),
+.BR sfood-cluster (1),
+.BR sfood-copy (1),
+.BR sfood-flatten (1),
+.BR sfood-imports (1).
+.SH AUTHOR
+sfood-graph was written by Martin Blais <blais at furius.ca> and it's part of snakefood suite.
+.PP
+This manual page was written by Sandro Tosi <morph at debian.org>,
+for the Debian project (and may be used by others).

Added: packages/snakefood/trunk/debian/sfood-imports.1
===================================================================
--- packages/snakefood/trunk/debian/sfood-imports.1	                        (rev 0)
+++ packages/snakefood/trunk/debian/sfood-imports.1	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,55 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SFOOD-IMPORTS 1 "January 2, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+sfood-imports \- parse Python files and output a unified list of imported symbols
+.SH SYNOPSIS
+.B sfood-imports
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+The imported modules/symbols are output even if they cannot be found.  (You
+could try to do this with grep, but this is more accurate because it uses the
+AST to obtain the list of imports.)
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show the help message and exit
+.TP
+\fB\-I\fR IGNORES, \fB\-\-ignore\fR=\fIIGNORES\fR
+Add the given directory name to the list to be
+ignored.
+.TP
+\fB\-u\fR, \fB\-\-unified\fR
+Just output the unique set of dependencies found, in
+no particular order, without the filenames.  The
+default is to output all imports, in order of
+appearance, along with the filename and line number.
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Output input lines as well.
+.SH SEE ALSO
+.BR sfood (1),
+.BR sfood-checker (1),
+.BR sfood-cluster (1),
+.BR sfood-copy (1),
+.BR sfood-flatten (1),
+.BR sfood-graph (1).
+.SH AUTHOR
+sfood-graph was written by Martin Blais <blais at furius.ca> and it's part of snakefood suite.
+.PP
+This manual page was written by Sandro Tosi <morph at debian.org>,
+for the Debian project (and may be used by others).

Added: packages/snakefood/trunk/debian/sfood.1
===================================================================
--- packages/snakefood/trunk/debian/sfood.1	                        (rev 0)
+++ packages/snakefood/trunk/debian/sfood.1	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,84 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SFOOD 1 "January 2, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+sfood \- detect import statements using the AST parser
+.SH SYNOPSIS
+.B sfood
+.RI [ options ] " files " ...
+.SH DESCRIPTION
+This script outputs a comma\-separated list of tuples:
+.IP
+((from_root, from_filename), (to_root, to_filename))
+.PP
+The roots are the root directories where the modules lie.  You can use
+sfood\-graph or some other tool to filter, cluster and generate a meaningful
+graph from this list of dependencies.
+.PP
+As a special case, if the 'to' tuple is (None, None), this means to at least
+include the 'from' tuple as a node.  This may happen if the file has no
+dependencies on anything.
+.PP
+As inputs, it can receive either files or directories; in case no
+argument is passed, it parses the current directory recursively.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show the help message and exit
+.TP
+\fB\-i\fR, \fB\-\-internal\fR, \fB\-\-internal\-only\fR
+Filter out dependencies that are outside of the roots
+of the input files. If internal is used twice, we
+filter down further the dependencies to the # set of
+files that were processed only, not just to the files
+that live in the same roots.
+.TP
+\fB\-I\fR IGNORES, \fB\-\-ignore\fR=\fIIGNORES\fR
+Add the given directory name to the list to be
+ignored.
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Output more debugging information
+.TP
+\fB\-f\fR, \fB\-r\fR, \fB\-\-follow\fR, \fB\-\-recursive\fR
+Follow the modules depended upon and trace their
+dependencies. WARNING: This can be slow.  Use
+\fB\-\-internal\fR to limit the scope.
+.TP
+\fB\-\-print\-roots\fR
+Only print the package roots corresponding to the
+input files.This is mostly used for testing and
+troubleshooting.
+.TP
+\fB\-d\fR, \fB\-\-disable\-pragmas\fR
+Disable processing of pragma directives as strings
+after imports.
+.TP
+\fB\-u\fR, \fB\-\-ignore\-unused\fR
+Automatically ignore unused imports. (See \fBsfood-checker\fR(1))
+.SH SEE ALSO
+.BR sfood-checker (1),
+.BR sfood-cluster (1),
+.BR sfood-copy (1),
+.BR sfood-flatten (1),
+.BR sfood-graph (1),
+.BR sfood-imports (1).
+.SH AUTHOR
+sfood was written by Martin Blais <blais at furius.ca> and it's part of snakefood suite.
+.PP
+This manual page was written by Sandro Tosi <morph at debian.org>,
+for the Debian project (and may be used by others).

Added: packages/snakefood/trunk/debian/watch
===================================================================
--- packages/snakefood/trunk/debian/watch	                        (rev 0)
+++ packages/snakefood/trunk/debian/watch	2009-01-02 21:01:40 UTC (rev 2152)
@@ -0,0 +1,3 @@
+version=3
+
+http://furius.ca/downloads/snakefood/releases/snakefood-(.*)\.tar.bz2




More information about the Python-apps-commits mailing list