From e530f14b1f91fba8c3e1ce532620335048db7299 Mon Sep 17 00:00:00 2001 From: Emile Anclin Date: Thu, 16 Dec 2010 11:27:56 +0100 Subject: py3k packaging: remove removed files from P3K_FILES_TO_IGNORE --- setup.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 6149616..a764d2e 100644 --- a/setup.py +++ b/setup.py @@ -39,10 +39,8 @@ except ImportError: USE_SETUPTOOLS = 0 # pylint needs to filter some test files expected to be wrong -P3K_FILES_TO_IGNORE= ['test/input/func_wrong_encoding.py', - 'test/input/func_noerror_encoding.py', - 'test/input/func_unknown_encoding.py', - 'test/input/func_nonascii_noencoding.py'] +P3K_FILES_TO_IGNORE= ('test/input/func_noerror_encoding.py', + 'test/input/func_unknown_encoding.py',) try: # python3 from distutils.command.build_py import build_py_2to3 as build_py @@ -56,7 +54,7 @@ try: self.build_package_data() # filter test files self.updated_files = [f for f in self.updated_files - if not f.endswith(tuple(P3K_FILES_TO_IGNORE))] + if not f.endswith(P3K_FILES_TO_IGNORE)] # 2to3 self.run_2to3(self.updated_files) # Remaining base class code -- cgit v1.2.1