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

Robin Becker robin at reportlab.com
Mon Feb 5 18:58:17 EST 2007


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


More information about the reportlab-users mailing list