From a7de921b58d8529797cce8db606ef05492a87e02 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Fri, 28 Nov 2014 19:09:45 +0000 Subject: New style tuple syntax is only supported on Python >= 2.7 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b4f8240..71fc3b3 100644 --- a/setup.py +++ b/setup.py @@ -120,8 +120,8 @@ class MyInstallLib(install_lib.install_lib): for directory in include_dirs: dest = join(self.install_dir, base, directory) if sys.version_info >= (3, 0): - exclude = {'invalid_encoded_data*', - 'unknown_encoding*'} + exclude = set(['invalid_encoded_data*', + 'unkown_encoding*']) else: exclude = set() shutil.rmtree(dest, ignore_errors=True) -- cgit v1.2.1