How important is it that this work with Reportlab 2.7? It's working fine with 
3.0 but not 2.7 and I'm not sure why.  RL 3.0 just went stable. The change from 
2.7 to 3.0 was only for Py3 compatibility.

I'm on Windows 7 x64 with Py 2.7.6 x32.

Michael

On 2/12/2014 4:18 PM, Martin Zibricky wrote:
>
> In PyInstaller/hooks/hook-reportlab.pdfbase._fontdata.py:
>
> > +    'reportlab.pdfbase._fontdata_enc_winansi',
> > +    'reportlab.pdfbase._fontdata_enc_zapfdingbats',
> > +    'reportlab.pdfbase._fontdata_widths_courier',
> > +    'reportlab.pdfbase._fontdata_widths_courierbold',
> > +    'reportlab.pdfbase._fontdata_widths_courierboldoblique',
> > +    'reportlab.pdfbase._fontdata_widths_courieroblique',
> > +    'reportlab.pdfbase._fontdata_widths_helvetica',
> > +    'reportlab.pdfbase._fontdata_widths_helveticabold',
> > +    'reportlab.pdfbase._fontdata_widths_helveticaboldoblique',
> > +    'reportlab.pdfbase._fontdata_widths_helveticaoblique',
> > +    'reportlab.pdfbase._fontdata_widths_symbol',
> > +    'reportlab.pdfbase._fontdata_widths_timesbold',
> > +    'reportlab.pdfbase._fontdata_widths_timesbolditalic',
> > +    'reportlab.pdfbase._fontdata_widths_timesitalic',
> > +    'reportlab.pdfbase._fontdata_widths_timesroman',
> > +    'reportlab.pdfbase._fontdata_widths_zapfdingbats',
>
> To get just what you need you could do:
>
> |from hookutils import collect_submodules
> hiddenimports = []
>
> for x in collect_submodules('reportlab.pdfbase'):
>      if x.startswith('reportlab.pdfbase._fontdata_'):
>          hiddenimports.append(x)
> |
>
> Could you please also add comment to the code what OS and that you tested it 
> with Reportlab 2.7 and 3.0a1?
>
> Thanks
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/pyinstaller/pyinstaller/pull/107/files#r9688902>.
>