From a8a8945588b5ebab1c312979d59fbf085696e30f Mon Sep 17 00:00:00 2001 From: Demian Brecht Date: Mon, 28 Nov 2022 12:46:18 -0800 Subject: [PATCH 1/2] add htmlcov to FlatLayoutModuleFinder.DEFAULT_EXCLUDE --- setuptools/discovery.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setuptools/discovery.py b/setuptools/discovery.py index 98fc2a7f48..6244a18558 100644 --- a/setuptools/discovery.py +++ b/setuptools/discovery.py @@ -273,6 +273,7 @@ class FlatLayoutModuleFinder(ModuleFinder): "benchmarks", "exercise", "exercises", + "htmlcov", # ---- Hidden files/Private modules ---- "[._]*", ) From 718afe0c108b552e917552103e360c39d5e2f0c3 Mon Sep 17 00:00:00 2001 From: Demian Brecht Date: Mon, 28 Nov 2022 13:15:33 -0800 Subject: [PATCH 2/2] added changelog entry --- changelog.d/3594.change.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/3594.change.rst diff --git a/changelog.d/3594.change.rst b/changelog.d/3594.change.rst new file mode 100644 index 0000000000..c0642d783a --- /dev/null +++ b/changelog.d/3594.change.rst @@ -0,0 +1 @@ +Added ``htmlcov`` to FlatLayoutModuleFinder.DEFAULT_EXCLUDE -- by :user:`demianbrecht`