1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
======================================================================
Psyco, the Python Specializing Compiler
======================================================================
VERSION 1.4
-----------
Psyco is a Python extension module which can massively speed up the
execution of any Python code.
REQUIREMENTS
------------
Psyco works on any recent version of Python (currently 2.1 to 2.4).
At present it *requires* a *PC* (i.e. a 386-compatible processor),
but it is OS-independant.
This program is still incomplete, but still it seems to have been
quite stable for some time and can give good results.
Note that Psyco works a bit better with Python versions starting
from 2.2.2.
QUICK INTRODUCTION
------------------
To install Psyco, do the usual
python setup.py install
Manually, you can also put the 'psyco' package in your Python search
path, e.g. by copying the subdirectory 'psyco' into the directory
'/usr/lib/python2.x/site-packages' (default path on Linux).
Basic usage is very simple: add
import psyco
psyco.full()
to the beginning of your main script. For basic introduction see:
import psyco
help(psyco)
DOCUMENTATION AND LATEST VERSIONS
---------------------------------
Home page:
* http://psyco.sourceforge.net
The current up-to-date documentation is the Ultimate Psyco Guide.
If it was not included in this distribution ("psycoguide.ps" or
"psycoguide/index.html"), see the doc page:
* http://psyco.sourceforge.net/doc.html
DEBUG BUILD
-----------
To build a version of Psyco that includes debugging checks and/or
debugging output, see comments in setup.py.
----------
Armin Rigo.
|