From 5d5861adecc1b0cb57e6d0061016b4d0e68da629 Mon Sep 17 00:00:00 2001 From: Dylan Wilson Date: Tue, 23 Jan 2018 15:11:14 -0800 Subject: Reflect find_packages behavior in doc find_packages doesnt find PEP420 packages but the documentation suggests that it does. see: pypa/setuptools#97 --- docs/setuptools.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/setuptools.txt b/docs/setuptools.txt index bea80181..cebb6268 100644 --- a/docs/setuptools.txt +++ b/docs/setuptools.txt @@ -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 -- cgit v1.2.3