[reportlab-users] setup.py --rl_accel=no install

Stephen D Evans reportlab at recombinant.demon.co.uk
Wed Feb 7 09:54:36 EST 2007


This was a quick fix to my problem. Cut and paste. Attached (hopefully) is
the TortoiseSVN created patch.

Stephen D Evans

----- Original Message -----
From: "Robin Becker" <robin at reportlab.com>
Newsgroups: gmane.comp.python.reportlab.user
To: "Support list for users of Reportlab software"
<reportlab-users at reportlab.com>
Sent: Monday, February 05, 2007 11:58 PM
Subject: Re: setup.py --rl_accel=no install



> Stephen D Evans wrote:

>> Trival bug for those of us without a compiler running the setup.py script

>> (build 3035 of the svn trunk).

>>

>>

>> C:\dist\reportlab\reportlab>setup.py --rl_accel=no install

>> Traceback (most recent call last):

>> File "C:\dist\reportlab\reportlab\setup.py", line 284, in <module>

>> run()

>> File "C:\dist\reportlab\reportlab\setup.py", line 244, in run

>> DATA_FILES.setdefault(tn,[]).append(fn)

>> UnboundLocalError: local variable 'DATA_FILES' referenced before

>> assignment

>>

>>

>> quick fix of the above gives:

>>

>>

>> C:\dist\reportlab\reportlab>setup.py --rl_accel=no install

>> Traceback (most recent call last):

>> File "C:\dist\reportlab\reportlab\setup.py", line 285, in <module>

>> run()

>> File "C:\dist\reportlab\reportlab\setup.py", line 281, in run

>> ext_modules = EXT_MODULES,

>> UnboundLocalError: local variable 'EXT_MODULES' referenced before

>> assignment

>>

>> fixing this and reportlab installs Ok.

>>

>> Stephen D Evans

> .......

>

> thanks, can you email me the code you actually ended up with. I don't

> normally use the reportlab install, but if you say it works I will patch

> to match.

>

> --

> Robin Becker

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.diff
Type: application/octet-stream
Size: 668 bytes
Desc: not available
Url : http://two.pairlist.net/pipermail/reportlab-users/attachments/20070207/b164794d/attachment.obj


More information about the reportlab-users mailing list