Commit 8880e2c2 authored by Jason R. Coombs's avatar Jason R. Coombs

Update documentation to reflect PEP420 support

parent cdbcb2b5
...@@ -426,9 +426,9 @@ such projects also need something like ``package_dir = {'':'src'}`` in their ...@@ -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.) ``setup()`` arguments, but that's just a normal distutils thing.)
Anyway, ``find_packages()`` walks the target directory, filtering by inclusion Anyway, ``find_packages()`` walks the target directory, filtering by inclusion
patterns, and finds Python patterns, and finds Python packages (any directory). On Python 3.2 and
packages by looking for ``__init__.py`` files. It then filters the list of earlier, packages are only recognized if they include an ``__init__.py`` file.
packages using the exclusion patterns. Finally, exclusion patterns are applied to remove matching packages.
Inclusion and exclusion patterns are package names, optionally including Inclusion and exclusion patterns are package names, optionally including
wildcards. For wildcards. For
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment