Skip to content

Commit b962831

Browse files
authored
upgrade binary (#11)
* upgrade binary * version, history and travis updates * try installing libpng16 in travis * add libssl as well :snooze: * change travis libssl * fix isort * upgrade to bionic
1 parent 53dd030 commit b962831

File tree

8 files changed

+26
-11
lines changed

8 files changed

+26
-11
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ dist/
66
*.egg-info/
77
.installed.cfg
88
*.egg
9-
.idea
9+
.idea/
10+
.vscode/
1011
build
1112
env
1213
.coverage

.travis.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
language: python
2-
sudo: false
3-
4-
python:
5-
- '3.6'
6-
- 'nightly'
72

83
matrix:
4+
include:
5+
- python: '3.6'
6+
dist: bionic
7+
- python: '3.7'
8+
dist: bionic
9+
- python: 3.8-dev
10+
dist: bionic
11+
912
allow_failures:
10-
- python: 'nightly'
13+
- python: 3.8-dev
14+
15+
before_install:
16+
- apt-cache search libssl
17+
- sudo apt-get install -y libpng16-16 libssl1.1
1118

1219
install:
1320
- make install

HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
History
44
-------
55

6+
v0.37.0 (2018-12-19)
7+
....................
8+
* upgrade wkhtmltopdf binary
9+
610
v0.36.0 (2017-06-13)
711
....................
812
* allow alternative wkhtmltopdf binary via ``WKHTMLTOPDF_PATH`` environment variable

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ PDF generation in python using
1010
Wkhtmltopdf binaries are precompiled and included in the package making
1111
pydf easier to use, in particular this means pydf works on heroku.
1212

13-
Currently using **wkhtmltopdf 0.12.4 (with patched qt)**, requires **Python 3.6+**.
13+
Currently using **wkhtmltopdf 0.12.5 for Ubuntu 18.04 (bionic)**, requires **Python 3.6+**.
1414

15-
**If you're not on Linux amd64:** pydf comes bundled with a wkhtmltopdf binary which will only work on Linux amd64 architectures. If you're on another OS or architecture your milage may vary, it is likely that you'll need to supply your own wkhtmltopdf binary and point pydf towards it by setting the ``WKHTMLTOPDF_PATH`` variable.
15+
**If you're not on Linux amd64:** pydf comes bundled with a wkhtmltopdf binary which will only work on Linux amd64
16+
architectures. If you're on another OS or architecture your milage may vary, it is likely that you'll need to supply
17+
your own wkhtmltopdf binary and point pydf towards it by setting the ``WKHTMLTOPDF_PATH`` variable.
1618

1719
Install
1820
-------

pydf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
from .wkhtmltopdf import * # noqa
21
from .version import VERSION # noqa
2+
from .wkhtmltopdf import * # noqa

pydf/bin/wkhtmltopdf

6.6 MB
Binary file not shown.

pydf/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from distutils.version import StrictVersion
22

3-
VERSION = StrictVersion('0.36.0')
3+
VERSION = StrictVersion('0.37.0')

tests/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
coverage==4.4
22
docutils==0.13.1
33
flake8==3.3.0
4+
isort==4.3.20
45
pdfminer.six==20170419
56
pycodestyle==2.3.1
67
pyflakes==1.5.0

0 commit comments

Comments
 (0)