From a859f46eb952f467e0bf8f49b542fffb301897ef Mon Sep 17 00:00:00 2001 From: Chris Livingston Date: Mon, 11 Dec 2017 18:07:08 -0800 Subject: [PATCH] Remove cruft --- src/python/pants/backend/python/tasks/python_binary_create.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/python/pants/backend/python/tasks/python_binary_create.py b/src/python/pants/backend/python/tasks/python_binary_create.py index 6f892c94214..f1e779d9ddd 100644 --- a/src/python/pants/backend/python/tasks/python_binary_create.py +++ b/src/python/pants/backend/python/tasks/python_binary_create.py @@ -114,7 +114,6 @@ def _create_binary(self, binary_tgt, results_dir): # Find which targets provide sources and which specify requirements. source_tgts = [] req_tgts = [] - python_dist_targets = [] for tgt in binary_tgt.closure(exclude_scopes=Scopes.COMPILE): if has_python_sources(tgt) or has_resources(tgt): source_tgts.append(tgt) @@ -124,8 +123,6 @@ def _create_binary(self, binary_tgt, results_dir): builder.add_interpreter_constraint(constraint) elif has_python_requirements(tgt): req_tgts.append(tgt) - elif is_local_python_dist(tgt): - python_dist_targets.append(tgt) # Dump everything into the builder's chroot. for tgt in source_tgts: