Changeset 289 for pkpgcounter/trunk/setup.py
- Timestamp:
- 11/23/05 22:33:29 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/setup.py
r288 r289 35 35 36 36 try : 37 from PIL import Image 38 except ImportError : 39 sys.stderr.write("You need the Python Imaging Library (aka PIL).\nYou can grab it from http://www.pythonware.com\n") 40 sys.exit(-1) 41 42 try : 37 43 import psyco 38 44 except ImportError : 39 45 sys.stderr.write("WARN: If you are running on a 32 Bits x86 platform, you should install the Python Psyco module if possible, this would greatly speedup parsing. NB : Psyco doesn't work on other platforms, so don't worry if you're in this case.\n") 40 46 41 try :42 from PIL import Image43 except ImportError :44 sys.stderr.write("You need the Python Imaging Library (aka PIL).\nYou can grab it from http://www.pythonware.com\n")45 46 47 sys.path.insert(0, "pkpgpdls") 47 48 from pkpgpdls.version import __version__, __doc__