Skip to content

Instantly share code, notes, and snippets.

@aflp91
Created May 8, 2017 15:51
Show Gist options
  • Save aflp91/7bf0a1c2af20cd3a2f6a69bab9b65622 to your computer and use it in GitHub Desktop.
Save aflp91/7bf0a1c2af20cd3a2f6a69bab9b65622 to your computer and use it in GitHub Desktop.
Installation de Kivy 1.10.0 OSX
`--> mkdir ~/Documents/Projets/Kivy
`--> cd ~/Documents/Projets/Kivy
`--> virtualenv -p /usr/local/bin/python3 venv
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6'
New python executable in /Users/aperus/Documents/Projets/Kivy/venv/bin/python3.6
Also creating executable in /Users/aperus/Documents/Projets/Kivy/venv/bin/python
Installing setuptools, pip, wheel...done.
`--> brew install pkg-config sdl2 sdl2_image sdl2_ttf sdl2_mixer gstreamer
Updating Homebrew...
Warning: pkg-config-0.29.2 already installed
==> Downloading https://homebrew.bintray.com/bottles/sdl2-2.0.5.el_capitan.bottle.1.tar.gz
######################################################################## 100,0%
==> Pouring sdl2-2.0.5.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/sdl2/2.0.5: 84 files, 4.0MB
==> Downloading https://homebrew.bintray.com/bottles/sdl2_image-2.0.1_2.el_capitan.bottle.tar.gz
######################################################################## 100,0%
==> Pouring sdl2_image-2.0.1_2.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/sdl2_image/2.0.1_2: 10 files, 171.0KB
==> Downloading https://homebrew.bintray.com/bottles/sdl2_ttf-2.0.14.el_capitan.bottle.tar.gz
######################################################################## 100,0%
==> Pouring sdl2_ttf-2.0.14.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/sdl2_ttf/2.0.14: 9 files, 71.4KB
==> Downloading https://homebrew.bintray.com/bottles/sdl2_mixer-2.0.1.el_capitan.bottle.tar.gz
######################################################################## 100,0%
==> Pouring sdl2_mixer-2.0.1.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/sdl2_mixer/2.0.1: 9 files, 378.3KB
==> Installing dependencies for gstreamer: bison
==> Installing gstreamer dependency: bison
==> Downloading https://homebrew.bintray.com/bottles/bison-3.0.4.el_capitan.bottle.tar.gz
######################################################################## 100,0%
==> Pouring bison-3.0.4.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
some formulae require a newer version of bison
If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.zshrc
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/bison/lib
==> Summary
🍺 /usr/local/Cellar/bison/3.0.4: 51 files, 2.1MB
==> Installing gstreamer
==> Downloading https://homebrew.bintray.com/bottles/gstreamer-1.10.4.el_capitan.bottle.tar.gz
######################################################################## 100,0%
==> Pouring gstreamer-1.10.4.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/gstreamer/1.10.4: 385 files, 20.4MB
`--> source venv/bin/activate
`--> which pip
/Users/aperus/Documents/Projets/Kivy/venv/bin/pip
`--> pip list
Package Version
---------- -------
appdirs 1.4.3
packaging 16.8
pip 9.0.1
pyparsing 2.2.0
setuptools 35.0.2
six 1.10.0
wheel 0.29.0
`--> pip install -U Cython
Collecting Cython
Downloading Cython-0.25.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.2MB)
100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.2MB 190kB/s
Installing collected packages: Cython
Successfully installed Cython-0.25.2
`--> pip install kivy
Collecting kivy
Downloading Kivy-1.10.0.tar.gz (24.3MB)
100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 24.3MB 44kB/s
Collecting Kivy-Garden>=0.1.4 (from kivy)
Downloading kivy-garden-0.1.4.tar.gz
Collecting docutils (from kivy)
Downloading docutils-0.13.1-py3-none-any.whl (536kB)
100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 542kB 152kB/s
Collecting pygments (from kivy)
Using cached Pygments-2.2.0-py2.py3-none-any.whl
Collecting requests (from Kivy-Garden>=0.1.4->kivy)
Using cached requests-2.13.0-py2.py3-none-any.whl
Building wheels for collected packages: kivy, Kivy-Garden
Running setup.py bdist_wheel for kivy ... done
Stored in directory: /Users/aperus/Library/Caches/pip/wheels/44/dc/e1/8f36be467f9d8c3b27d172a64a55b887212b86727684ca18e8
Running setup.py bdist_wheel for Kivy-Garden ... done
Stored in directory: /Users/aperus/Library/Caches/pip/wheels/27/08/88/88938a7cf5b20073ff1f0432b7c0dd172531185cc74d97f5da
Successfully built kivy Kivy-Garden
Installing collected packages: requests, Kivy-Garden, docutils, pygments, kivy
Successfully installed Kivy-Garden-0.1.4 docutils-0.13.1 kivy-1.10.0 pygments-2.2.0 requests-2.13.0
`--> pip show Kivy
Name: Kivy
Version: 1.10.0
Summary: A software library for rapid development of hardware-accelerated multitouch applications.
Home-page: http://kivy.org
Author: Kivy Team and other contributors
Author-email: kivy-dev@googlegroups.com
License: MIT
Location: /Users/aperus/Documents/Projets/Kivy/venv/lib/python3.6/site-packages
Requires: pygments, docutils, Kivy-Garden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment