File tree Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change
1
+ Version 0.18.0 --
2
+
3
+ * Works with both Python 2 and Python 3 (tested 2.6, 2.7, 3.2.3)
4
+ * added some new methods
5
+ * fixed FormField issue
6
+ * setup.py circumvents sipdistutils < 4.14.2 not working with python 3
7
+
1
8
Version 0.16.3 -- November 9th, 2012
2
9
3
10
* Enable build with Poppler 0.18 and 0.20 (new api not yet)
Original file line number Diff line number Diff line change 1
1
TODO:
2
2
3
- - test Python versions other than 2.6
4
- - add some examples
5
3
6
4
DONE:
7
5
- Poppler::Document::newFontIterator() is usable as Python iterable
8
6
- Poppler::HighlightAnnotation::Quad.points has been fixed
9
7
- support Poppler::InkAnnotation::inkPaths() and setInkPaths()
10
8
- cast returned lists of objects like Document::links() to their respective types
11
9
- convert to and from QLinkedList
10
+ - test Python versions other than 2.6: 3.2.3 works
11
+ - add some examples: demo.py added
12
12
Original file line number Diff line number Diff line change 2
2
3
3
project = dict (
4
4
name = 'python-poppler-qt4' ,
5
- version = '0.16.3 ' ,
5
+ version = '0.18.0 ' ,
6
6
description = 'A Python binding to Poppler-Qt4' ,
7
7
long_description = \
8
8
'A Python binding to Poppler-Qt4 that aims for ' \
12
12
url = 'http://python-poppler-qt4.googlecode.com/' ,
13
13
license = 'LGPL' ,
14
14
classifiers = [
15
- 'Development Status :: 4 - Beta ' ,
15
+ 'Development Status :: 5 - Production/Stable ' ,
16
16
'Intended Audience :: Developers' ,
17
17
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)' ,
18
18
'Operating System :: MacOS :: MacOS X' ,
19
19
'Operating System :: Microsoft :: Windows' ,
20
20
'Operating System :: POSIX' ,
21
21
'Programming Language :: Python' ,
22
+ 'Programming Language :: Python :: 2.6' ,
23
+ 'Programming Language :: Python :: 2.7' ,
24
+ 'Programming Language :: Python :: 3' ,
22
25
'Topic :: Multimedia :: Graphics :: Viewers' ,
23
26
],
24
- cmdclass = {}
27
+ cmdclass = {}
25
28
)
26
29
27
30
import os
38
41
39
42
import sipdistutils
40
43
44
+ ### this circumvents a bug in sip < 4.14.2, where the file() builtin is used
45
+ ### instead of open()
46
+ try :
47
+ import builtins
48
+ try :
49
+ builtins .file
50
+ except AttributeError :
51
+ builtins .file = open
52
+ except ImportError :
53
+ pass
54
+ ### end
55
+
41
56
import PyQt4 .pyqtconfig
42
57
config = PyQt4 .pyqtconfig .Configuration ()
43
58
You can’t perform that action at this time.
0 commit comments