39
- Download and install the latest version of Homebrew
39
- Download and install Homebrew (see http://brew.sh)
40
40
- Open the Terminal.
41
41
- Make sure you are using the latest version of Homebrew:
45
- Install the dependencies for Mnemosyne. You'll need a few extra steps to install gdk-pixbuf to avoid a nasty error with py2app and macholib:
47
brew install bzr python qt4 pyqt sip matplotlib mplayer
48
brew install $(brew deps gdk-pixbuf)
49
brew fetch --build-from-source gdk-pixbuf
50
sed -i '' -e '/append_to_cflags/ {
52
ENV.append("LDFLAGS", "-Xlinker")
54
ENV.append("LDFLAGS", "-headerpad_max_install_names")
55
}' /usr/local/Library/Formula/gdk-pixbuf.rb #add helpful flags
56
brew install --build-from-source gdk-pixbuf
57
pip install distribute==0.7.3 cherrypy==3.8.0 webob==1.5.0 virtualenvwrapper==4.7.1 virtualenv==13.1.2
59
- Build it (filling in the version from the top line of "brew info qt4"):
45
- Install the dependencies for Mnemosyne.
47
brew install python3 qt5 pyqt5 mplayer
48
pip3 install webob tornado matplotlib numpy sip pillow
49
# https://github.com/pyinstaller/pyinstaller/issues/1874
50
pip3 install git+git://github.com/pyinstaller/pyinstaller.git@5812b64470e2232f6b6f8f68c81dc220b2aedfd7
55
export QT5DIR=/usr/local/opt/qt5 # help pyinstaller find the qt5 path
63
59
- Test the new application (back up your data directory first!):