From 8880e2c2872e381b94adcd63e5bed7f69241d6e7 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 16 Mar 2014 05:39:05 -0400 Subject: Update documentation to reflect PEP420 support --- docs/setuptools.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/setuptools.txt b/docs/setuptools.txt index 6d21fef1..68467dc1 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -426,9 +426,9 @@ such projects also need something like ``package_dir = {'':'src'}`` in their ``setup()`` arguments, but that's just a normal distutils thing.) Anyway, ``find_packages()`` walks the target directory, filtering by inclusion -patterns, and finds Python -packages by looking for ``__init__.py`` files. It then filters the list of -packages using the exclusion patterns. +patterns, and finds Python packages (any directory). On Python 3.2 and +earlier, packages are only recognized if they include an ``__init__.py`` file. +Finally, exclusion patterns are applied to remove matching packages. Inclusion and exclusion patterns are package names, optionally including wildcards. For -- cgit v1.2.3