--- setup.py.orig 2014-10-19 22:13:26.000000000 -0700 +++ setup.py 2014-10-19 22:16:23.000000000 -0700 @@ -353,14 +353,15 @@ 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 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