Changeset 1570 for pykota/trunk/pykota
- Timestamp:
- 06/26/04 16:14:31 (20 years ago)
- Location:
- pykota/trunk/pykota
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/pdlanalyzer.py
r1568 r1570 22 22 # 23 23 # $Log$ 24 # Revision 1.15 2004/06/26 14:14:31 jalet 25 # Now uses Psyco if it is available 26 # 24 27 # Revision 1.14 2004/06/25 09:50:28 jalet 25 28 # More debug info in PCLXL parser … … 438 441 """ 439 442 self.filename = filename 443 try : 444 import psyco 445 except ImportError : 446 pass # Psyco is not installed 447 else : 448 # Psyco is installed, tell it to compile 449 # the CPU intensive methods : PCL and PCLXL 450 # parsing will greatly benefit from this, 451 # for PostScript and PDF the difference is 452 # barely noticeable since they are already 453 # almost optimal, and much more speedy anyway. 454 psyco.bind(PostScriptAnalyzer.getJobSize) 455 psyco.bind(PDFAnalyzer.getJobSize) 456 psyco.bind(PCLAnalyzer.getJobSize) 457 psyco.bind(PCLXLAnalyzer.getJobSize) 440 458 441 459 def getJobSize(self) : -
pykota/trunk/pykota/version.py
r1564 r1570 22 22 # 23 23 24 __version__ = "1.19alpha2 6_unofficial"24 __version__ = "1.19alpha27_unofficial" 25 25 26 26 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""