Commits

Dusty Phillips  committed 335cf58

Initial commit

  • Participants

Comments (0)

Files changed (2)

+kivyvenv.sh
+===========
+
+This is a very simple shell script to install the development
+version of Kivy (http://www.kivy.org/) into a virtualenv.
+
+It has no error checking and will probably only work unmodified
+if you use Arch Linux and have already installed the various
+non-python packages that Kivy and its dependencies require.
+
+It's probably also missing several packages, especially optional ones.
+It works for the examples I've run except video.
+
+
+virtualenv -p python2 venv
+. venv/bin/activate
+
+# install dependencies via pip
+pip install cython
+pip install pygments
+pip install sphinx
+pip install pyglet
+#pip install pygame  # Fails on Arch Linux
+
+# Patch and install pygame
+wget http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz
+wget https://projects.archlinux.org/svntogit/packages.git/plain/trunk/pygame-v4l.patch?h=packages/python-pygame -O pygame-v4l.patch
+tar xf pygame-1.9.1release.tar.gz
+cd pygame-1.9.1release/
+patch -Np1 -i ../pygame-v4l.patch
+python setup.py install
+cd ..
+rm pygame* -r
+
+# The default setup.py is currently broken
+#pip install git+git://github.com/kivy/kivy.git
+pip install git+https://github.com/buchuki/kivy.git@setupfix
+
+
+
+