stay with python2
git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@264 1aa58f4a-7d42-0410-adbc-911cccaed67cpull/1/head
parent
438b4953be
commit
509ab66319
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PACKAGE=pdfminer
|
PACKAGE=pdfminer
|
||||||
|
|
||||||
PYTHON=python
|
PYTHON=python2
|
||||||
GIT=git
|
GIT=git
|
||||||
RM=rm -f
|
RM=rm -f
|
||||||
CP=cp -f
|
CP=cp -f
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
__version__ = '20101017'
|
__version__ = '20101017'
|
||||||
|
|
||||||
if __name__ == '__main__': print __version__
|
if __name__ == '__main__': print __version__
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
""" Python implementation of Arcfour encryption algorithm.
|
""" Python implementation of Arcfour encryption algorithm.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
""" Python implementation of ASCII85/ASCIIHex decoder (Adobe version).
|
""" Python implementation of ASCII85/ASCIIHex decoder (Adobe version).
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
""" Adobe character mapping (CMap) support.
|
""" Adobe character mapping (CMap) support.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys, os.path
|
import sys, os.path
|
||||||
from pdfdevice import PDFDevice, PDFTextDevice
|
from pdfdevice import PDFDevice, PDFTextDevice
|
||||||
from pdffont import PDFUnicodeNotDefined
|
from pdffont import PDFUnicodeNotDefined
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from psparser import PSLiteral
|
from psparser import PSLiteral
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
""" Font metrics for the Adobe core 14 fonts.
|
""" Font metrics for the Adobe core 14 fonts.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
""" Mappings from Adobe glyph names to Unicode characters.
|
""" Mappings from Adobe glyph names to Unicode characters.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
""" Standard encoding tables used in PDF.
|
""" Standard encoding tables used in PDF.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
from utils import apply_matrix_pt, get_bound, INF
|
from utils import apply_matrix_pt, get_bound, INF
|
||||||
from utils import bsearch, bbox2str, matrix2str
|
from utils import bsearch, bbox2str, matrix2str
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
from sys import stderr
|
from sys import stderr
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
from psparser import LIT
|
from psparser import LIT
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
from utils import mult_matrix, translate_matrix
|
from utils import mult_matrix, translate_matrix
|
||||||
from utils import enc, bbox2str
|
from utils import enc, bbox2str
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
try:
|
try:
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import re
|
import re
|
||||||
from sys import stderr
|
from sys import stderr
|
||||||
from struct import pack, unpack
|
from struct import pack, unpack
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
import struct
|
import struct
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import zlib
|
import zlib
|
||||||
from lzw import lzwdecode
|
from lzw import lzwdecode
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
from sys import stderr
|
from sys import stderr
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
""" Python implementation of Rijndael encryption algorithm.
|
""" Python implementation of Rijndael encryption algorithm.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# RunLength decoder (Adobe version) implementation based on PDF Reference
|
# RunLength decoder (Adobe version) implementation based on PDF Reference
|
||||||
# version 1.4 section 3.3.4.
|
# version 1.4 section 3.3.4.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
from sys import maxint as INF
|
from sys import maxint as INF
|
||||||
from struct import pack, unpack
|
from struct import pack, unpack
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
RM=rm -f
|
RM=rm -f
|
||||||
#CMP=cmp
|
#CMP=cmp
|
||||||
CMP=:
|
CMP=:
|
||||||
PYTHON=python
|
PYTHON=python2
|
||||||
|
|
||||||
PDF2TXT=PYTHONPATH=.. $(PYTHON) ../tools/pdf2txt.py -Dx -p1
|
PDF2TXT=PYTHONPATH=.. $(PYTHON) ../tools/pdf2txt.py -Dx -p1
|
||||||
|
|
||||||
HTMLS=$(HTMLS_FREE) $(HTMLS_NONFREE)
|
HTMLS=$(HTMLS_FREE) $(HTMLS_NONFREE)
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
from pdfminer import __version__
|
from pdfminer import __version__
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import fileinput
|
import fileinput
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import os.path
|
import os.path
|
||||||
import gzip
|
import gzip
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import fileinput
|
import fileinput
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# dumppdf.py - dump pdf contents in XML format.
|
# dumppdf.py - dump pdf contents in XML format.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#
|
#
|
||||||
# latin2ascii.py - converts latin1 characters into ascii.
|
# latin2ascii.py - converts latin1 characters into ascii.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python -O
|
#!/usr/bin/python2 -O
|
||||||
#
|
#
|
||||||
# pdf2html.cgi - Gateway script for converting PDF into HTML.
|
# pdf2html.cgi - Gateway script for converting PDF into HTML.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
from pdfminer.pdfparser import PDFDocument, PDFParser
|
from pdfminer.pdfparser import PDFDocument, PDFParser
|
||||||
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter, process_pdf
|
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter, process_pdf
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
def prof_main(argv):
|
def prof_main(argv):
|
||||||
|
|
Loading…
Reference in New Issue