[reportlab-users] Re: Re: Re[2]: Looking for a How-to to get me moving quickly

Jorge Godoy godoy at ieee.org
Sat May 6 20:24:19 EDT 2006


Andy Robinson wrote:

> Check out the trunk from subversion - instructions here:
> http://www.reportlab.org/subversion.html



Hi Andy!


Would it be possible to have an alternative setup.py (e.g.
setup_setuptools.py) that uses setuptools from PEAK?  It would be great to
use a ReportLab egg... 

Using setuptools to build eggs and managing install would also be great and
applies to all branches I tried, besides the trunk.  I believe you know
setuptools, but here are some hyperlinks:

        Python Eggs -> http://peak.telecommunity.com/DevCenter/PythonEggs
        Setuptools  -> http://peak.telecommunity.com/DevCenter/setuptools

IIRC, setuptools will be standard in Python 2.5.  If you start supporting it
now, you'll be there already when Python 2.5 comes out ;-)


Also, while building it on Linux with GCC 4.0.2 I get the following
warnings: 


/home/godoy/desenvolvimento/python/reportlab/rl_addons/rl_accel/_rl_accel.c:
In function ‘hex32’:
/home/godoy/desenvolvimento/python/reportlab/rl_addons/rl_accel/_rl_accel.c:726:
warning: format ‘%8.8X’ expects type ‘unsigned int’, but argument 5 has
type ‘long unsigned int’
/home/godoy/desenvolvimento/python/reportlab/rl_addons/rl_accel/sgmlop.c:87:1:
warning: "/*" within comment
/home/godoy/desenvolvimento/python/reportlab/rl_addons/rl_accel/sgmlop.c:369:1:
warning: "/*" within comment
/home/godoy/desenvolvimento/python/reportlab/rl_addons/rl_accel/sgmlop.c:706:1:
warning: "/*" within comment


The trunk is still referring itself as "reportlab 1.20" after installed, is
it correct?

I couldn't build renderPM with "easy_install", even though it gets built
fine with distutils:

_renderPM.c: In function ‘_get_gstatePath’:
_renderPM.c:918: warning: enumeration value ‘ART_END’ not handled in switch
_renderPM.c: At top level:
_renderPM.c:331: warning: ‘notdefPathLen’ defined but not used
_renderPM.c: In function ‘_get_gstatePath’:
_renderPM.c:913: warning: ‘e’ may be used uninitialized in this function
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld:
cannot find -l_renderPM_libart
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status
1


For pyRXP I also had problems with setuptools:


pyRXP.c:6: warning: ‘__version__’ defined but not used
rxp/xmlparser.c: In function ‘init_parser’:
rxp/xmlparser.c:272: warning: null argument where non-null required
(argument 1)
rxp/xmlparser.c:272: warning: null argument where non-null required
(argument 1)
rxp/xmlparser.c: In function ‘parse_dtd’:
rxp/xmlparser.c:2702: warning: null argument where non-null required
(argument 1)
rxp/xmlparser.c:2702: warning: null argument where non-null required
(argument 1)
rxp/xmlparser.c: At top level:
rxp/xmlparser.c:7: warning: ‘vcid’ defined but not used
rxp/input.c: In function ‘translate_8bit’:
rxp/input.c:424: warning: label ‘more_bytes’ defined but not used
rxp/nf16check.c: In function ‘nf16check’:
rxp/nf16check.c:144: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:145: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:146: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:147: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:148: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:149: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:150: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:151: warning: comparison is always false due to limited
range of data type
rxp/nf16check.c:152: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:153: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:154: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:155: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c: In function ‘nf16checkL’:
rxp/nf16check.c:247: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:248: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:249: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:250: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:251: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:252: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:253: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:254: warning: comparison is always false due to limited
range of data type
rxp/nf16check.c:255: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:256: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:257: warning: comparison is always true due to limited range
of data type
rxp/nf16check.c:258: warning: comparison is always true due to limited range
of data type
build/_pyRXPU/xmlparserU.c: In function ‘check_qualname_syntax’:
build/_pyRXPU/xmlparserU.c:1345: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c: In function ‘process_xml_space’:
build/_pyRXPU/xmlparserU.c:2030: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c:2034: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c:2040: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c: In function ‘parse_pcdata’:
build/_pyRXPU/xmlparserU.c:2122: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c:2249: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c: In function ‘process_xml_decl’:
build/_pyRXPU/xmlparserU.c:3078: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c: In function ‘check_attribute_syntax’:
build/_pyRXPU/xmlparserU.c:5364: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c:5389: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/xmlparserU.c: At top level:
build/_pyRXPU/xmlparserU.c:7: warning: ‘vcid’ defined but not used
build/_pyRXPU/inputU.c: In function ‘translate_latin’:
build/_pyRXPU/inputU.c:463: warning: label ‘more_bytes’ defined but not used
build/_pyRXPU/inputU.c: In function ‘translate_latin1’:
build/_pyRXPU/inputU.c:491: warning: label ‘more_bytes’ defined but not used
build/_pyRXPU/inputU.c: In function ‘external_reader’:
build/_pyRXPU/inputU.c:675: warning: ‘trans’ may be used uninitialized in
this function
build/_pyRXPU/nf16checkU.c: In function ‘nf16check’:
build/_pyRXPU/nf16checkU.c:144: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:145: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:146: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:147: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:148: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:149: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:150: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:151: warning: comparison is always false due to
limited range of data type
build/_pyRXPU/nf16checkU.c:152: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:153: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:154: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:155: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c: In function ‘nf16checkL’:
build/_pyRXPU/nf16checkU.c:247: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:248: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:249: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:250: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:251: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:252: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:253: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:254: warning: comparison is always false due to
limited range of data type
build/_pyRXPU/nf16checkU.c:255: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:256: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:257: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/nf16checkU.c:258: warning: comparison is always true due to
limited range of data type
build/_pyRXPU/pyRXPU.c:6: warning: ‘__version__’ defined but not used

(this gets built and is installed)


With distutils all goes fine here as well.


Sorry for all those questions and for bothering you with such details.


Be seeing you,
-- 
Jorge Godoy      <godoy at ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.




More information about the reportlab-users mailing list