[reportlab-users] graphics.barcode not installed with setup.py
Michael Kefeder
ml at weird-birds.org
Thu Jan 11 07:57:07 EST 2007
> ml at weird-birds.org wrote:
>> I recently needed to use barcodes and I found the old barcode extension.
>
> Hmm, Andy promised me that someone would remove that offending extension
> ;-)
>
google and a dedicated enough person finds anything ;)
>> reason is pretty simple, it is supposed to be in 2.0 package. But I
>> wasn't
>> able to import it - why - setup.py is missing it in ist packages list:
>>
>> --- reportlab/setup.py 2006-05-23 17:56:46.000000000 +0200
>> +++ setup.py 2007-01-11 11:02:27.198519121 +0100
>> @@ -235,6 +235,7 @@
>> packages=[ # include anything with an __init__
>> 'reportlab',
>> 'reportlab.extensions',
>> + 'reportlab.graphics.barcode',
>> 'reportlab.graphics.charts',
>> 'reportlab.graphics.samples',
>> 'reportlab.graphics.widgets',
>
> Weird, I didn't have any problems :-S
>
When I install using
python setup.py install
the barcode package is definitely missing in site-packages/reportlab. With
my patch applied it works.
I guess most people simply unpack reportlab and use it that way, that's
probably why nobody noticed that problem. Also, people can find and
install the old barcode extension - again, nobody complains ;)
Mike
More information about the reportlab-users
mailing list