[reportlab-users] ReportLab 3.x packaging and deployment

Peter Cock p.j.a.cock at googlemail.com
Tue Jan 14 06:23:07 EST 2014


On Tue, Jan 14, 2014 at 11:19 AM, Andy Robinson <andy at reportlab.com> wrote:

> On 14 January 2014 11:00, Marius Gedminas <marius at gedmin.as> wrote:

>> It would be awesome if I could sudo apt-get install python-reportlab and

>> then somehow make it available in selected virtualenvs, but that's a

>> discussion for another list.

>

> Dumb questions but can't you...

>

> 1. sudo apt-get install python-reportlab

> 2. create a virtualenv with no site packages

> 3. make a symlink from the venv's site-packages to the system reportlab?


Probably not advisable, but I have done similar trickery in the past.
It can be made to work, however, with any C extensions involved
(as in ReportLab) this can only work if the virtualenv is using the
same version of Python as the system python.

Peter


More information about the reportlab-users mailing list