aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS/dylib-unhell.py
Commit message (Collapse)AuthorAge
* osxbundle: don't try to package PythonGravatar Stefano Pigozzi2015-02-02
| | | | | | | | This fixes usage when the bundle is used on the same machine that Python/Cython was compiled on. It doesn't fix the harder problem of packaging a full Python installation in the mpv app bundle (and I'm not sure we actually want that). Fixes #1549
* osxbundle: fix detection of user librariesGravatar Tsukasa OMOTO2014-07-16
| | | | | Previous code would detect for example `libcaca.0.dylib` as a system library, because it matched the `libc` condition.
* osxbundle: fix recursion terminationGravatar Tsukasa OMOTO2014-05-25
| | | | Prevents the binary from being copied over to the lib directory.
* osxbundle: split and optimize bundling scriptGravatar Stefano Pigozzi2014-05-09
Move the code that copies the dylib's to the bundle to a new script (dylib-unhell.py) which is called by osxbundle.py. dylib-unhell is about 20x faster than the previous implementation. This is accomplished by removing superflous shell-out operations which are kept track of using an in memory tree of all the needed dependencies. Moreover the shell-outs have been further optimized by not requiring a complete shell for every operation and just using subprocess.call (which is equivalent to Popen).