add pexpect to the standard library, standard "install" mechanism.

Nick Craig-Wood nick at craig-wood.com
Fri Jan 20 04:30:03 EST 2006


Robert Kern <robert.kern at gmail.com> wrote:
>  Installing Pexpect
> 
>  The pexpect-current.tgz tarball is a standard Python Distutil distribution.
> 
>     1. download pexpect-current.tgz
>     2. tar zxf pexpect-current.tgz
>     3. cd pexpect-current
>     4. python setup.py install

If on linux you can

  python setup.py bdist_rpm

which builds an .rpm to install which you might prefer.

If you want a .deb use alien to convert the rpm

However in the case of this package

  apt-get install python-pexpect

works for me on Debian and hence probably on ubuntu.

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list