File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Python-PDFKit: HTML to PDF wrapper
5
5
.. image :: https://travis-ci.org/JazzCore/python-pdfkit.png?branch=master
6
6
:target: https://travis-ci.org/JazzCore/python-pdfkit
7
7
8
+ .. image :: https://badge.fury.io/py/pdfkit.svg
9
+ :target: http://badge.fury.io/py/pdfkit
10
+
8
11
Python 2 and 3 wrapper for wkhtmltopdf utility to convert HTML to PDF using Webkit.
9
12
10
13
This is adapted version of `ruby PDFKit <https://github.com/pdfkit/pdfkit >`_ library, so big thanks to them!
Original file line number Diff line number Diff line change 5
5
import codecs
6
6
import unittest
7
7
8
+
8
9
#Prepend ../ to PYTHONPATH so that we can import PDFKIT form there.
9
10
TESTS_ROOT = os .path .abspath (os .path .dirname (__file__ ))
10
11
sys .path .insert (0 , os .path .realpath (os .path .join (TESTS_ROOT , '..' )))
You can’t perform that action at this time.
0 commit comments