Skip to content

Commit

Permalink
Merge pull request #1258 from dylanjw/update-doc
Browse files Browse the repository at this point in the history
Reflect find_packages behavior in doc
  • Loading branch information
jaraco committed Feb 4, 2018
2 parents 676fbed + 5d5861a commit 5f576fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/setuptools.txt
Expand Up @@ -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.)

Anyway, ``find_packages()`` walks the target directory, filtering by inclusion
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.
patterns, and finds Python packages (any directory). 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
Expand Down

0 comments on commit 5f576fd

Please sign in to comment.