In order to build the CVS version of PyNcurses you need to install the Python Distutils. These can be downloaded from the Distutils-SIG or from the PyNucses ftp site. For more information on Distutils visit the Distutils-SIG site. These links are to version 0.8, 0.8.1 has a bug that prevents use of the --help option to setup.py, but if you don't mind not using this option it would probably be better to use 0.8.1 . 0.8.1 can also be downloaded from the PyNcurses ftp site.
I have made some Distutil RPMs, you can download either a source or a binary RPM. Although the binary RPM says it is for i386, it is pure python, so it should work on any system that has tho same byte order as an i386.
Once you have downloaded and extracted the Python Distutils you can build and install them with the following commands:
./setup.py build su ./setup.py install
After you have installed the Python Distutils you can checkout the current contents of the PyNcurses CVS repository with the following commands:
cvs -d:pserver:firstname.lastname@example.org:/cvsroot/pyncurses login # Press ENTER when asked for a password cvs -z3 -d:pserver:email@example.com:/cvsroot/pyncurses co pyncurses
The same two commands will always update your copy of the repository to the most recent version. After the first time you check out PyNcurses you can update it with the following commands as long as you run them from inside the pyncurses directory:
cvs login cvs -z3 co pyncurses
After you have checked out the CVS the following commands will build and install PyNcurses:
./make_c.sh ./setup.py build su ./setup.py install
If you get alot of conflicting types for `*' errors, run the following command:
This will apply a patch fixing the problem.Last modified: Sun Apr 23 06:57:40 EDT 2000