From b7ac25367607e683f975dee5d88f8c4ea15f47d6 Mon Sep 17 00:00:00 2001 From: Christoph Gohlke <cjgohlke@gmail.com> Date: Thu, 5 Dec 2019 15:15:06 -0800 Subject: [PATCH] Remove unused import --- pyopencl/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index bda4800b..e24eea20 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -264,8 +264,7 @@ def _find_pyopencl_include_path(): except Exception: # Try to find the resource with pkg_resources (the recommended # setuptools approach). This is very slow. - from pkg_resources import (Requirement, resource_filename, - DistributionNotFound) + from pkg_resources import Requirement, resource_filename include_path = resource_filename( Requirement.parse("pyopencl"), "pyopencl/cl") -- GitLab