[reportlab-users] [PATCH] Fix setup.py

Robin Becker robin at reportlab.com
Tue Sep 18 07:10:59 EDT 2007

Thomas Petazzoni wrote:

> Hi,


> The setup.py of reportlab available in the current Subversion

> repository doesn't allow to install reportlab in a specific prefix

> path, because it hardcodes installation of files

> to /usr/lib/python-2.5/.


> The attached patch fixes the issue for me, but is not perfect. It

> correctly fixes the issue for all the data files of reportlab, using the

> package_data directive instead of the data_files directive.


> However, the fix for the specific case for hyphen.mashed is not correct

> (it install it in $prefix/lib). I don't know where this file should be

> installed. According to lib/utils.py, I'd say it should go to

> $prefix/lib/python-2.5/site-packages/reportlab/lib/. Is that correct ?


> If so, I don't know how to install it using the package_data directive.

> Ideas ?


> Sincerly,


> Thomas

Thanks for the patch, but yes you're right it probably ought to go in the lib
area; are you saying it's hard to get it there?
Robin Becker

More information about the reportlab-users mailing list