matthiask / pdfdocument

ReportLab-wrapper

Home Page:http://www.feinheit.ch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing reportlab dependency?

adaszko opened this issue · comments

Hello. When I do

$ pip install pdfdocument

and then

import pdfdocument
import pdfdocument.document

IPython gives me

ImportError: No module named reportlab.lib

Yes, that's correct. We are still using distutils in setup.py and should switch to setuptools.

Is there any disadvantage adding reportlab to the setup.py as dependency?

No disadvantage at all. It's just that Python packaging was a mess 6 years ago, and I didn't yet get around to updating setup.py for the present situation.

Do you want to take a stab at it?