Moving from buildout to virtualenv

From GNU MediaGoblin Wiki
Jump to: navigation, search

Our docs and our HackingHowto have now moved to suggesting that you use Virtualenv instead of Buildout.

Making that change is actually very simple. Just follow these steps from within your MediaGoblin checkout:

  • Install VirtualEnv to your system
    1. On Debian or similar: sudo apt-get install python-virtualenv
    2. On Fedora or similar: yum install python-virtualenv
    3. Via python itself: sudo easy_install virtualenv
  • Remove old directories: rm -rf eggs/ bin/
  • Install virtualenv in the checkout: virtualenv .
  • Update dependencies: ./bin/python develop

Version conflicts with system packages? Try installing with virtualenv --no-site-packages .

That's it!

Personal tools