diff --git a/README.txt b/README.txt index 05279c7..a27c700 100644 --- a/README.txt +++ b/README.txt @@ -36,15 +36,20 @@ NOTE: Only step 4 will need to be performed for subsequent builds. How to compile on Mac OS X: -1) Install PyInstaller +1) pip install pyinstaller 2) CD into the "softchord" directory. -3) Run "python mac_combile.py" - +3) Copy the newly installed "pyinstaller" directory into the softchord +directory +4) python pyinstaller/pyinstaller.py src/softchord.py --onefile --windowed --noconfirm --name "softChord X.Y.Z" +5) cp src/Info.plist dist/softChord\ 0.9.1.app/Contents/Info.plist +6) Copy the database into the dir dist/ directory +See: +http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/ diff --git a/src/Info.plist b/src/Info.plist new file mode 100644 index 0000000..8dedec8 --- /dev/null +++ b/src/Info.plist @@ -0,0 +1,45 @@ + + + + + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + songbook + + CFBundleTypeIconFile + application.icns + CFBundleTypeMIMETypes + + application/x-softChordSongbook + + CFBundleTypeName + softChord song book + CFBundleTypeRole + Editor + LSIsAppleDefaultForType + + + + + +CFBundleShortVersionString +0.0.0 +CFBundleExecutable +MacOS/softChord 0.9.1 +CFBundleName +softChord 0.9.1 +CFBundleInfoDictionaryVersion +6.0 +CFBundleDisplayName +softChord 0.9.1 +CFBundleIconFile +icon-windowed.icns +CFBundlePackageType +APPL +LSBackgroundOnly +1 + +