The Python interface to CCVS must sometimes be built after the rest of
CCVS is installed. This is the case, for example, when you're using
a distribution that doesn't come with a version of Python. If we
can't make sure we're using the same version of Python that you
are, it may not be safe for us to distribute a pre-built version
of the Python interface.
Finding the Source Code
The source code for the Python interface is in src/other
under the directory in which you installed CCVS. So, if you used
the default location, it would be
/usr/local/ccvs/src/other. The file
ccvsmodule.c is the Python module source code.
Building the Python Module
On a typical Linux system that has the Python development environment
installed, the following command should build the CCVS python module.
The normal install location for the Python for systems on which we
pre-build it is the lib/python directory under the
directory in which you installed CCVS. So, if you used the
default location, it would be
/usr/local/ccvs/lib/python. You should install the module
you've built into that location; if you do this, you can set the
PYTHONPATH environment variable as described in the
Python programmers' guide.