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

Stephen D Evans reportlab at recombinant.demon.co.uk
Mon Feb 5 15:58:56 EST 2007


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



More information about the reportlab-users mailing list