Changeset 288

Show
Ignore:
Timestamp:
11/23/05 22:33:00 (19 years ago)
Author:
jerome
Message:

Now warns about PIL missing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/setup.py

    r271 r288  
    3838except ImportError :     
    3939    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     
     41try :     
     42    from PIL import Image 
     43except ImportError :     
     44    sys.stderr.write("You need the Python Imaging Library (aka PIL).\nYou can grab it from http://www.pythonware.com\n") 
    4045 
    4146sys.path.insert(0, "pkpgpdls")