Add Mac OSX instructions for development.

As per
https://anki.tenderapp.com/discussions/ankidesktop/5057-how-to-build-anki-from-source-on-mac-osx
found the time to work out how to get things building on Mac OSX.
This commit is contained in:
Barrie Treloar 2016-04-23 08:21:43 +09:30
parent 9eed2bf2fa
commit 2d770907be

View file

@ -64,3 +64,16 @@ Or a way with git bash and perl:
system. Typical paths would be: system. Typical paths would be:
<python-path> = C:\\Python27\\python.exe <python-path> = C:\\Python27\\python.exe
<pyuic-path-string> = C:\\Python27\\Lib\\site-packages\\PyQt4\\uic\\pyuic.py <pyuic-path-string> = C:\\Python27\\Lib\\site-packages\\PyQt4\\uic\\pyuic.py
MAC OSX USERS:
These instructions may be incomplete as prerequisites may have already been
installed. Most likely you will need to have installed xcode
(https://developer.apple.com/xcode/)
Install homebrew (http://brew.sh/) and then install Anki prerequisites:
$ brew install python PyQt mplayer lame portaudio
$ pip install sqlalchemy
Now you can follow the development commands at the start of this document.