aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install_lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/install_lib.py')
-rw-r--r--setuptools/command/install_lib.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py
index f4b295cc..91d2b25d 100644
--- a/setuptools/command/install_lib.py
+++ b/setuptools/command/install_lib.py
@@ -12,6 +12,10 @@ class install_lib(orig.install_lib):
self.byte_compile(outfiles)
def get_exclusions(self):
+ """
+ Return a collections.Sized collections.Container of paths to be
+ excluded for single_version_externally_managed installations.
+ """
exclude = set()
nsp = self.distribution.namespace_packages
svem = (nsp and self.get_finalized_command('install')
@@ -24,7 +28,7 @@ class install_lib(orig.install_lib):
for f in self._gen_exclude_names():
exclude.add(os.path.join(pkgdir, f))
parts.pop()
- return dict.fromkeys(exclude, 1)
+ return exclude
@staticmethod
def _gen_exclude_names():