Skip to content

Commit

Permalink
Exclude debian dir (#4001)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Aug 8, 2023
2 parents 1d94207 + bc13743 commit 5169a9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/4001.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ignore `debian` directories in the source tree when performing automatic discovery of packages.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ exclude =
*.tests
*.tests.*
tools*
debian*

[options.extras_require]
testing =
Expand Down
1 change: 1 addition & 0 deletions setuptools/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ class FlatLayoutPackageFinder(PEP420PackageFinder):
_EXCLUDE = (
"ci",
"bin",
"debian",
"doc",
"docs",
"documentation",
Expand Down

0 comments on commit 5169a9b

Please sign in to comment.