pyinstaller: update osx instruction due to a recent bug in pyinstaller / osx 10.8

This commit is contained in:
Mathieu Virbel 2012-12-04 19:03:24 +01:00
parent 60b54287e0
commit 5a2dc74927
1 changed files with 12 additions and 1 deletions

View File

@ -21,6 +21,17 @@ command must be accessible from the command line.
Then, download and decompress the PyInstaller 2.0.
.. warning::
It seem that latest PyInstaller has a bug when reading Mach-O binaries.
(http://www.pyinstaller.org/ticket/614). To fix the issues, you can::
cd pyinstaller-2.0/PyInstaller/lib/macholib
curl -O https://bitbucket.org/ronaldoussoren/macholib/raw/e32d04b5361950a9343ca453d75602b65787f290/macholib/mach_o.py
And then, the issue should be gone. It should be ok in the 2.1.
.. _mac_Create-the-spec-file:
Create the spec file
@ -92,7 +103,7 @@ adding one more argument to the `COLLECT()` method::
gst_plugin_path = os.environ.get('GST_PLUGIN_PATH').split(':')[0]
coll = COLLECT( exe, Tree('../kivy/examples/demo/touchtracer/'),
Tree(join(gst_plugin_path, '..')),
Tree(os.path.join(gst_plugin_path, '..')),
a.binaries,
#...
)