[reportlab-users] Install fails under virtualenv

Tim Lesher tlesher at gmail.com
Tue Jun 10 14:03:40 EDT 2008


I'm trying to install ReportLab toolkit 2.1 in a virtualenv environment
(i.e., without root privileges), but installation is failing.

The issue seems to be the manual path munging that the setup.py script does
in package_home(). It always picks up the system-wide lib installation,
rather than the local one.

Is there any reason not to use distutils' package_data argument to setup()
instead?

Just removing "data_files=DATA_FILES.items()" and replacing it with
"package_data={'reportlab': _FILES}" appears to do the right thing in my
testing.

Thanks.
--
Tim Lesher <tlesher at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080610/457332b7/attachment.htm>


More information about the reportlab-users mailing list