aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-03-22 10:02:04 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-03-22 10:02:04 -0400
commit2c0a61206618c83fb683a8b478b62eff88d9b33a (patch)
tree0f3c10b8d261b021b739d80330b32906973e5ee4
parent0b99bde8ba1e3727e43ba98fb07b6ca6713a0fde (diff)
downloadexternal_python_setuptools-2c0a61206618c83fb683a8b478b62eff88d9b33a.tar.gz
external_python_setuptools-2c0a61206618c83fb683a8b478b62eff88d9b33a.tar.bz2
external_python_setuptools-2c0a61206618c83fb683a8b478b62eff88d9b33a.zip
Reindent docstring
-rw-r--r--setuptools/__init__.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py
index 27bd74ff..ab1541d7 100644
--- a/setuptools/__init__.py
+++ b/setuptools/__init__.py
@@ -35,19 +35,19 @@ class PackageFinder(object):
def find(cls, where='.', exclude=(), include=('*',)):
"""Return a list all Python packages found within directory 'where'
- 'where' should be supplied as a "cross-platform" (i.e. URL-style) path; it
- will be converted to the appropriate local path syntax. 'exclude' is a
- sequence of package names to exclude; '*' can be used as a wildcard in the
- names, such that 'foo.*' will exclude all subpackages of 'foo' (but not
- 'foo' itself).
-
- 'include' is a sequence of package names to include. If it's specified,
- only the named packages will be included. If it's not specified, all found
- packages will be included. 'include' can contain shell style wildcard
- patterns just like 'exclude'.
-
- The list of included packages is built up first and then any explicitly
- excluded packages are removed from it.
+ 'where' should be supplied as a "cross-platform" (i.e. URL-style)
+ path; it will be converted to the appropriate local path syntax.
+ 'exclude' is a sequence of package names to exclude; '*' can be used
+ as a wildcard in the names, such that 'foo.*' will exclude all
+ subpackages of 'foo' (but not 'foo' itself).
+
+ 'include' is a sequence of package names to include. If it's
+ specified, only the named packages will be included. If it's not
+ specified, all found packages will be included. 'include' can contain
+ shell style wildcard patterns just like 'exclude'.
+
+ The list of included packages is built up first and then any
+ explicitly excluded packages are removed from it.
"""
out = cls._find_packages_iter(convert_path(where))
includes = cls._build_filter(*include)