stay with python2

git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@264 1aa58f4a-7d42-0410-adbc-911cccaed67c
pull/1/head
yusuke.shinyama.dummy 2010-10-19 09:57:01 +00:00
parent 438b4953be
commit 509ab66319
32 changed files with 33 additions and 32 deletions

View File

@ -3,7 +3,7 @@
PACKAGE=pdfminer
PYTHON=python
PYTHON=python2
GIT=git
RM=rm -f
CP=cp -f

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
__version__ = '20101017'
if __name__ == '__main__': print __version__

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
""" Python implementation of Arcfour encryption algorithm.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
""" Python implementation of ASCII85/ASCIIHex decoder (Adobe version).

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
""" Adobe character mapping (CMap) support.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys, os.path
from pdfdevice import PDFDevice, PDFTextDevice
from pdffont import PDFUnicodeNotDefined

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import re
from psparser import PSLiteral

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
""" Font metrics for the Adobe core 14 fonts.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
""" Mappings from Adobe glyph names to Unicode characters.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
""" Standard encoding tables used in PDF.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
from utils import apply_matrix_pt, get_bound, INF
from utils import bsearch, bbox2str, matrix2str

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
from sys import stderr
try:

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
from psparser import LIT

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
from utils import mult_matrix, translate_matrix
from utils import enc, bbox2str

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
try:
from cStringIO import StringIO

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import re
from sys import stderr
from struct import pack, unpack

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
import re
import struct

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
import zlib
from lzw import lzwdecode

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
import re
from sys import stderr

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
""" Python implementation of Rijndael encryption algorithm.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# RunLength decoder (Adobe version) implementation based on PDF Reference
# version 1.4 section 3.3.4.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
from sys import maxint as INF
from struct import pack, unpack

View File

@ -3,7 +3,8 @@
RM=rm -f
#CMP=cmp
CMP=:
PYTHON=python
PYTHON=python2
PDF2TXT=PYTHONPATH=.. $(PYTHON) ../tools/pdf2txt.py -Dx -p1
HTMLS=$(HTMLS_FREE) $(HTMLS_NONFREE)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
from distutils.core import setup
from pdfminer import __version__

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
import fileinput

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
import os.path
import gzip

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
import fileinput

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# dumppdf.py - dump pdf contents in XML format.
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# latin2ascii.py - converts latin1 characters into ascii.
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python -O
#!/usr/bin/python2 -O
#
# pdf2html.cgi - Gateway script for converting PDF into HTML.
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
from pdfminer.pdfparser import PDFDocument, PDFParser
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter, process_pdf

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
def prof_main(argv):