Created
February 20, 2015 00:05
-
-
Save barn/51aeb936371e74c7424c to your computer and use it in GitHub Desktop.
Example of building pyinstaller across platforms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% export| egrep -i 'OSX|SDK' | |
MACOSX_DEPLOYMENT_TARGET=10.8 | |
SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk | |
macosx_deployment_target=10.8 | |
% VERSIONER_PYTHON_PREFER_32_BIT=no arch -x86_64 /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /usr/local/bin/pyinstaller --console --clean --onefile --distpath /tmp/dist/ --workpath /tmp/work/ demo_pyinstaller.py | |
15 INFO: wrote /Users/bhughes/demo_pyinstaller.spec | |
33 WARNING: You are running 64-bit Python: created binaries will only work on Mac OS X 10.6+. | |
If you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this command: | |
VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python | |
4044 INFO: UPX is available. | |
4061 INFO: Processing hook hook-os | |
4143 INFO: Processing hook hook-time | |
4147 INFO: Processing hook hook-cPickle | |
4195 INFO: Processing hook hook-_sre | |
4298 INFO: Processing hook hook-cStringIO | |
4380 INFO: Processing hook hook-encodings | |
4393 INFO: Processing hook hook-codecs | |
4657 INFO: Removing temporary files and cleaning cache in /Users/bhughes/Library/Application Support/pyinstaller | |
4665 INFO: Extending PYTHONPATH with /Users/bhughes | |
4665 INFO: checking Analysis | |
4665 INFO: building Analysis because out00-Analysis.toc non existent | |
4665 INFO: running Analysis out00-Analysis.toc | |
4683 INFO: Analyzing /Library/Python/2.7/site-packages/PyInstaller-2.1-py2.7.egg/PyInstaller/loader/_pyi_bootstrap.py | |
4693 INFO: Processing hook hook-os | |
4703 INFO: Processing hook hook-site | |
4718 INFO: Processing hook hook-encodings | |
4805 INFO: Processing hook hook-time | |
4807 INFO: Processing hook hook-cPickle | |
4872 INFO: Processing hook hook-_sre | |
4961 INFO: Processing hook hook-cStringIO | |
5041 INFO: Processing hook hook-codecs | |
5348 INFO: Processing hook hook-pydoc | |
5434 INFO: Processing hook hook-email | |
5479 INFO: Processing hook hook-httplib | |
5505 INFO: Processing hook hook-email.message | |
5732 INFO: Analyzing /Library/Python/2.7/site-packages/PyInstaller-2.1-py2.7.egg/PyInstaller/loader/pyi_importers.py | |
5767 INFO: Analyzing /Library/Python/2.7/site-packages/PyInstaller-2.1-py2.7.egg/PyInstaller/loader/pyi_archive.py | |
5800 INFO: Analyzing /Library/Python/2.7/site-packages/PyInstaller-2.1-py2.7.egg/PyInstaller/loader/pyi_carchive.py | |
5836 INFO: Analyzing /Library/Python/2.7/site-packages/PyInstaller-2.1-py2.7.egg/PyInstaller/loader/pyi_os_path.py | |
5839 INFO: Analyzing demo_pyinstaller.py | |
5842 INFO: Processing hook hook-xml | |
5888 INFO: Processing hook hook-xml.etree.cElementTree | |
5978 INFO: Processing hook hook-distutils | |
6087 INFO: Processing hook hook-xml.sax | |
6119 INFO: Processing hook hook-pyexpat | |
6159 INFO: Processing hook hook-_elementtree | |
6160 INFO: Hidden import 'codecs' has been found otherwise | |
6160 INFO: Hidden import 'encodings' has been found otherwise | |
6160 INFO: Looking for run-time hooks | |
6308 INFO: Using Python library /System/Library/Frameworks/Python.framework/Versions/2.7/Python | |
6331 INFO: Warnings written to /tmp/work/demo_pyinstaller/warndemo_pyinstaller.txt | |
6339 INFO: checking PYZ | |
6339 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing | |
6339 INFO: building PYZ (ZlibArchive) out00-PYZ.toc | |
7420 INFO: checking PKG | |
7420 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing | |
7420 INFO: building PKG (CArchive) out00-PKG.pkg | |
9722 INFO: checking EXE | |
9723 INFO: building because out00-EXE.toc missing or bad | |
9723 INFO: building EXE from out00-EXE.toc | |
9724 INFO: Executing - upx --best -q /Users/bhughes/Library/Application Support/pyinstaller/bincache01_py27/run | |
9837 INFO: Appending archive to EXE /tmp/dist/demo_pyinstaller |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment