replace /path/to/file with os.path.join('path','to','file')
renamed render_pdf_mako to render_pdf
deleted unused, import PyPDF2, from __init__.py