Show
Ignore:
Timestamp:
10/06/05 12:58:51 (19 years ago)
Author:
jerome
Message:

Now warns about psyco missing only during setup, and stays quiet while running.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/setup.py

    r235 r271  
    3333    sys.stderr.write("You need the DistUtils Python module.\nunder Debian, you may have to install the python-dev package.\nOf course, YMMV.\n") 
    3434    sys.exit(-1) 
     35     
     36try :     
     37    import psyco 
     38except ImportError :     
     39    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") 
    3540 
    3641sys.path.insert(0, "pkpgpdls")