--- Tools/pyobjc_setup.py.orig 2014-10-19 22:06:13.000000000 -0700 +++ Tools/pyobjc_setup.py 2014-10-19 22:08:57.000000000 -0700 @@ -197,15 +197,17 @@ else: outputs = install_lib.orig.install_lib.get_outputs(self) + exclusions = {} for fn in outputs: if 'PyObjCTest' in fn: - result[fn] = 1 + exclusions[fn] = 1 - result['PyObjCTest'] = 1 - result[os.path.join(self.install_dir, 'PyObjCTest')] = 1 + exclusions['PyObjCTest'] = 1 + exclusions[os.path.join(self.install_dir, 'PyObjCTest')] = 1 for fn in os.listdir('PyObjCTest'): - result[os.path.join('PyObjCTest', fn)] = 1 - result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1 + exclusions[os.path.join('PyObjCTest', fn)] = 1 + exclusions[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1 + result.update(exclusions) return result