Skip to content

Virtual environment setup #4

@brad

Description

@brad

Have you considered setting this up with a virtual environment? I got it working with these simple steps:

## After activating the virtual environment
$ pip install "django>=1.5,<=1.6" django-appconf django-jsonfield south pil psycopg2
## Note that installing psycopg2 via pip removes an apt-get dependancy

## Now install pycairo to the virtualenv
$ curl http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2 | tar jxv
$ ./waf --prefix=$VIRTUALENV configure
$ ./waf build
$ ./waf install

Personally, I like to keep all the python dependancies in the virtual environment to avoid clashing with any other projects I'm working on. Also, this reduces the number of Ubuntu-specific dependencies slightly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions