Commit 5f576fdd authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #1258 from dylanjw/update-doc

Reflect find_packages behavior in doc
parents 676fbed1 5d5861ad
...@@ -437,9 +437,9 @@ such projects also need something like ``package_dir={'':'src'}`` in their ...@@ -437,9 +437,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 packages (any directory). On Python 3.2 and patterns, and finds Python packages (any directory). Packages are only
earlier, packages are only recognized if they include an ``__init__.py`` file. recognized if they include an ``__init__.py`` file. Finally, exclusion
Finally, exclusion patterns are applied to remove matching packages. 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