From d0349fddd66dcd0f334cdfdbd50e6eecab7766ad Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Tue, 30 Sep 2014 23:09:00 +0300 Subject: Update the list of exclusions from 2to3. --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index a38e9c7..4cd2396 100644 --- a/setup.py +++ b/setup.py @@ -121,9 +121,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 = set(('func_unknown_encoding.py', - 'func_invalid_encoded_data.py', - 'invalid_encoded_data.py')) + exclude = {'invalid_encoded_data*', + 'unknown_encoding*'} else: exclude = set() shutil.rmtree(dest, ignore_errors=True) -- cgit v1.2.1