Skip to content

Instantly share code, notes, and snippets.

@bossjones
Forked from jegger/Pygst_virtualenv.sh
Last active August 29, 2015 14:18
Show Gist options
  • Save bossjones/b6dec8618ba025f48683 to your computer and use it in GitHub Desktop.
Save bossjones/b6dec8618ba025f48683 to your computer and use it in GitHub Desktop.
# Replace 'venv' with the foldername of your virtualenv.
# This script links the gst module and it's dependecies into the virtualenv.
# Tested on ubuntu 12.04
sudo apt-get install python-gst0.10
cd venv/lib/python2.7/site-packages
ln -s /usr/lib/python2.7/dist-packages/glib
ln -s /usr/lib/python2.7/dist-packages/gobject
ln -s /usr/lib/python2.7/dist-packages/gst-0.10
ln -s /usr/lib/python2.7/dist-packages/gstoption.so
ln -s /usr/lib/python2.7/dist-packages/gtk-2.0
ln -s /usr/lib/python2.7/dist-packages/pygst.pth
ln -s /usr/lib/python2.7/dist-packages/pygst.py
ln -s /usr/lib/python2.7/dist-packages/pygtk.pth
ln -s /usr/lib/python2.7/dist-packages/pygtk.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment