--- Python-2.7.1/setup.py.orig 2013-10-25 17:28:03.000000000 +0200 +++ Python-2.7.1/setup.py 2013-10-25 17:27:56.000000000 +0200 @@ -87,7 +87,7 @@ f = os.path.join(sysroot, dir[1:], filename) if os.path.exists(f): - return [dir] + return [os.path.dirname(f)] # Not found anywhere return None