Skip to content

Commit

Permalink
bitcraze#96 Updated readme for home-brew
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Sep 2, 2015
1 parent 7c97d0f commit 7c5284a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,27 @@ they might or might not affected of this.
brew install python
```
This will also pull [pip](https://pip.pypa.io/en/latest/), which we will use later to install some Python modules that are not distributed through Homebrew.
1. Make sure the homebrew Python version is used system-wide
To do this we need to prepend this installation to our PYTHONPATH:
This will also pull [pip3](https://pip.pypa.io/en/latest/), which we will use later to install some Python modules that are not distributed through Homebrew.
1. Install SDL for Python
```
echo 'export PYTHONPATH=/usr/local/lib/python3.4/site-packages:$PYTHONPATH' >> ~/.bashrc
source ~/.bashrc
brew install sdl sdl2 sdl_image sdl_mixer sdl_ttf portmidi
```
1. Install SDL for Python
1. Install PyQt
If you already have pyqt installed for python2 you need to uninstall it first
```
brew install sdl sdl2 sdl_image sdl_mixer sdl_ttf portmidi
brew uninstall pyqt
brew install pyqt --with-python3
```
1. Install remaining dependencies
```
brew install pyqt libusb
pip install --pre pysdl2 pyusb pyqtgraph
brew install libusb
pip3 install pysdl2 pyusb pyqtgraph
```
1. You now have all the dependencies needed to run the client. From the source folder, run it with the following command:
Expand Down

0 comments on commit 7c5284a

Please sign in to comment.