Skip to content

Commit

Permalink
manually installing the pygame version for el capitan
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Jul 19, 2016
1 parent 4a30da0 commit 74f37c1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kniteditor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""An editor for knitting projects."""

__version__ = "0.0.19"
__version__ = "0.0.20"


def main(*args, **kw):
Expand Down
1 change: 1 addition & 0 deletions mac-build/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Kivy3.app.zip
Kivy3.app
/build
/dist
/pygame.zip
16 changes: 12 additions & 4 deletions mac-build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ brew install python3
python3 -m pip install --upgrade pip

echo "# install pygame"
# see https://bitbucket.org/pygame/pygame/issues/82/homebrew-on-leopard-fails-to-install#comment-636765
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
brew install mercurial || true
python3 -m pip install $USER hg+http://bitbucket.org/pygame/pygame
site_packages="`python3 -c \"import sys;print([p for p in sys.path if p.endswith('site-packages')][0])\"`"
pygame_whl="pygame.zip"
python3 -m pip uninstall -y pygame || true
rm -rf "$site_packages"/pygame*
wget https://github.com/AllYarnsAreBeautiful/kniteditor/releases/download/kivy-mac-binaries-1/pygame-1.9.2b4-cp35-cp35m-macosx_10_9_intel.whl -O "$pygame_whl"
unzip "$pygame_whl" -d "$site_packages"
### locally compiled pygame version
### see https://bitbucket.org/pygame/pygame/issues/82/homebrew-on-leopard-fails-to-install#comment-636765
##brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
##brew install mercurial || true
##python3 -m pip install $USER hg+http://bitbucket.org/pygame/pygame
echo "# install kivy dependencies"
brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gstreamer
Expand Down

0 comments on commit 74f37c1

Please sign in to comment.