aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-11-18 15:19:12 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-11-18 15:19:12 -0500
commit7daf18ff0aaa6e9c9f5078ed1880512dbf8e497a (patch)
tree31ea5ee65bbbaa52e91ab2b667a5306070c81c17 /setuptools/sandbox.py
parented765324e72e7e6be1f84778eaa7496df0e7a381 (diff)
downloadexternal_python_setuptools-7daf18ff0aaa6e9c9f5078ed1880512dbf8e497a.tar.gz
external_python_setuptools-7daf18ff0aaa6e9c9f5078ed1880512dbf8e497a.tar.bz2
external_python_setuptools-7daf18ff0aaa6e9c9f5078ed1880512dbf8e497a.zip
Drop exception support for packages triggering win32com cache generation during build/install. Fixes #841
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-xsetuptools/sandbox.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index 39afd57e..d882d715 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -373,14 +373,6 @@ if hasattr(os, 'devnull'):
else:
_EXCEPTIONS = []
-try:
- from win32com.client.gencache import GetGeneratePath
- _EXCEPTIONS.append(GetGeneratePath())
- del GetGeneratePath
-except ImportError:
- # it appears pywin32 is not installed, so no need to exclude.
- pass
-
class DirectorySandbox(AbstractSandbox):
"""Restrict operations to a single subdirectory - pseudo-chroot"""