Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
5f576fdd
Commit
5f576fdd
authored
Feb 04, 2018
by
Jason R. Coombs
Committed by
GitHub
Feb 04, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1258 from dylanjw/update-doc
Reflect find_packages behavior in doc
parents
676fbed1
5d5861ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/setuptools.txt
docs/setuptools.txt
+3
-3
No files found.
docs/setuptools.txt
View file @
5f576fdd
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment