summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2018-04-25 22:10:38 -0400
committerGitHub <noreply@github.com>2018-04-25 22:10:38 -0400
commitbd14d8e8f83c0aa0a9912a905174ef2b58c4c7c0 (patch)
tree45c2c0b6ce685a04b6377ca96ed063fbbaedc57d /setup.py
parentab016a2b301083b396b824781a78df740aab83b8 (diff)
downloadpytorch-bd14d8e8f83c0aa0a9912a905174ef2b58c4c7c0.tar.gz
pytorch-bd14d8e8f83c0aa0a9912a905174ef2b58c4c7c0.tar.bz2
pytorch-bd14d8e8f83c0aa0a9912a905174ef2b58c4c7c0.zip
add additional caffe/caffe2 paths to exclude list in pytorch setup.py (#6891)
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index e603f99eb9..e2eac186d1 100644
--- a/setup.py
+++ b/setup.py
@@ -807,7 +807,7 @@ def make_relative_rpath(path):
################################################################################
extensions = []
-packages = find_packages(exclude=('tools', 'tools.*', 'caffe2', 'caffe'))
+packages = find_packages(exclude=('tools', 'tools.*', 'caffe2', 'caffe2.*', 'caffe', 'caffe.*'))
C = Extension("torch._C",
libraries=main_libraries,
sources=main_sources,