forked from upstream/UXP-mirror
Syntax change, also cleaning up stuff from previous change. 2to3 . --fix apply -wpn Ref: https://docs.python.org/3/whatsnew/3.0.html
macholib can be used to analyze and edit Mach-O headers, the executable format used by Mac OS X. It's typically used as a dependency analysis tool, and also to rewrite dylib references in Mach-O headers to be @executable_path relative. Though this tool targets a platform specific file format, it is pure python code that is platform and endian independent.