From 7bcbb5cbc893e97109c15cba3ea561aa0d462148 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 23 Dec 2014 10:29:02 -0500 Subject: Force list type for easy concatenation. --- setuptools/command/build_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index f0913115..e4b2c593 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -208,7 +208,7 @@ class build_ext(_build_ext): ) # pair each base with the extension pairs = itertools.product(ns_ext_bases, self.__get_output_extensions()) - return (base + fnext for base, fnext in pairs) + return list(base + fnext for base, fnext in pairs) def __get_output_extensions(self): yield '.py' -- cgit v1.2.1