Changeset 235 for pkpgcounter
- Timestamp:
- 07/09/05 10:46:59 (19 years ago)
- Location:
- pkpgcounter/trunk
- Files:
-
- 16 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/bin/pkpgcounter
r229 r235 24 24 25 25 import sys 26 from p dlanalyzer.version import __version__, __author__, __authoremail__, \26 from pkpgpdls.version import __version__, __author__, __authoremail__, \ 27 27 __years__, __gplblurb__ 28 from p dlanalyzerimport analyzer28 from pkpgpdls import analyzer 29 29 30 30 __doc__ = """pkpgcounter v%(__version__)s (c) %(__years__)s %(__author__)s -
pkpgcounter/trunk/clean.sh
r211 r235 22 22 # Use this to clean the tree from temporary files 23 23 24 rm -f MANIFEST 25 rm -fr build dist 24 26 find . -name "*.bak" -exec rm -f {} \; 25 27 find . -name "*~" -exec rm -f {} \; -
pkpgcounter/trunk/NEWS
r229 r235 22 22 pkpgcounter News : 23 23 24 * 1.56 : 25 26 - Renamed the library from pdlanalyzer into pkpgpdls to avoid problems 27 when the code will be integrated back into PyKota. 28 24 29 * 1.55 : 25 30 -
pkpgcounter/trunk/pkpgpdls/analyzer.py
r229 r235 23 23 import tempfile 24 24 25 from pdlanalyzer import version, pdlparser, \ 26 postscript, pdf, pcl345, pclxl, \ 27 escp2, dvi, tiff, ooo 25 import version, pdlparser, postscript, pdf, pcl345, pclxl, \ 26 escp2, dvi, tiff, ooo 28 27 29 28 class PDLAnalyzer : -
pkpgcounter/trunk/pkpgpdls/dvi.py
r220 r235 27 27 from struct import unpack 28 28 29 from pdlanalyzerimport pdlparser29 import pdlparser 30 30 31 31 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/escp2.py
r220 r235 24 24 import sys 25 25 26 from pdlanalyzerimport pdlparser26 import pdlparser 27 27 28 28 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/ooo.py
r232 r235 26 26 import zipfile 27 27 28 from pdlanalyzerimport pdlparser28 import pdlparser 29 29 30 30 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/pcl345.py
r220 r235 26 26 import mmap 27 27 28 from pdlanalyzerimport pdlparser28 import pdlparser 29 29 30 30 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/pclxl.py
r220 r235 27 27 from struct import unpack 28 28 29 from pdlanalyzerimport pdlparser29 import pdlparser 30 30 31 31 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/pdf.py
r220 r235 25 25 import re 26 26 27 from pdlanalyzerimport pdlparser27 import pdlparser 28 28 29 29 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/postscript.py
r220 r235 25 25 import popen2 26 26 27 from pdlanalyzerimport pdlparser27 import pdlparser 28 28 29 29 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/tiff.py
r220 r235 27 27 from struct import unpack 28 28 29 from pdlanalyzerimport pdlparser29 import pdlparser 30 30 31 31 class Parser(pdlparser.PDLParser) : -
pkpgcounter/trunk/pkpgpdls/version.py
r229 r235 20 20 # 21 21 22 __version__ = "1.5 5"22 __version__ = "1.56" 23 23 24 24 __doc__ = """pkpgcounter : a generic Page Description Languages parser.""" -
pkpgcounter/trunk/README
r229 r235 73 73 74 74 This will usually install the pkpgcounter into /usr/bin and 75 the library into /usr/lib/python2.?/site-packages/p dlanalyzer/75 the library into /usr/lib/python2.?/site-packages/pkpgpdls/ 76 76 77 77 2 - Use pkpgcounter : -
pkpgcounter/trunk/setup.py
r211 r235 34 34 sys.exit(-1) 35 35 36 sys.path.insert(0, "p dlanalyzer")37 from p dlanalyzer.version import __version__, __doc__36 sys.path.insert(0, "pkpgpdls") 37 from pkpgpdls.version import __version__, __doc__ 38 38 39 39 data_files = [] … … 58 58 author_email = "alet@librelogiciel.com", 59 59 url = "http://www.librelogiciel.com/software/", 60 packages = [ "p dlanalyzer" ],60 packages = [ "pkpgpdls" ], 61 61 scripts = [ "bin/pkpgcounter" ], 62 62 data_files = data_files) -
pkpgcounter/trunk/tests/runtest.sh
r220 r235 11 11 12 12 echo -n "File master.ps should be 16 pages long, result is : " 13 python ../p dlanalyzer/analyzer.py master2.ps13 python ../pkpgpdls/analyzer.py master2.ps 14 14 15 15 echo "Analyzing testsuite..." 16 16 for file in testsuite.* ; do 17 echo -n "$file ===> " && python ../p dlanalyzer/analyzer.py "$file" ;17 echo -n "$file ===> " && python ../pkpgpdls/analyzer.py "$file" ; 18 18 done