Skip to content
Snippets Groups Projects
Commit 99f14724 authored by bigbes's avatar bigbes
Browse files

Merge remote-tracking branch 'origin/tt-remove-pyexpect'

parents d8ecdbd3 f265c18e
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ branches:
install:
- sudo apt-get update > /dev/null
- sudo apt-get -q install binutils-dev python-daemon python-yaml python-pexpect
- sudo apt-get -q install binutils-dev python-daemon python-yaml
script:
- mkdir ./build && cd ./build && cmake .. -DCMAKE_BUILD_TYPE=RelWithDebugInfo
......
......@@ -33,10 +33,6 @@ CC=gcc463 CXX=g++463 cmake . -DCMAKE_BUILD_TYPE=RelWithDebugInfo -DENABLE_CLIENT
sudo yum install python26 python26-PyYAML python26-argparse
wget http://pypi.python.org/packages/source/p/pexpect-u/pexpect-u-2.5.1.tar.gz#md5=7c916a9f42d636ec6aec39f7cdd96eb5
tar -xzvf pexpect-u-2.5.1.tar.gz
sudo python26 setup.py install
wget http://pypi.python.org/packages/source/d/daemon/daemon-1.0.tar.gz#md5=b0bebffc51965a66ec4a4bc1006fa90b
tar -xzvf daemon-1.0.tar.gz
sudo python26 setup.py install
......
......@@ -17,9 +17,6 @@ pkg_add -r python27
3. Install necessary python modules:
-------------
cd /usr/ports/misc/py-pexpect
sudo make install
cd /usr/ports/devel/py-yaml
sudo make install
......
......@@ -69,7 +69,6 @@ simplest way to setup and start the server, but it requires a few
additional Python modules:
* daemon
* pyyaml
* pexpect
Once all prerequisites are installed, try:
......
......@@ -6,7 +6,6 @@ Build-Depends: cdbs, debhelper (>= 8),
libreadline-dev,
python-yaml,
python-daemon,
python-pexpect,
libncurses5-dev,
binutils-dev (< 2.23) | libiberty-dev,
libmysqlclient-dev,
......
......@@ -316,7 +316,7 @@ and a reasonable choice is <computeroutput><option>-DENABLE_CLIENT=true</option>
This step is optional.</para>
<para>Say:<programlisting><command>python --version</command></programlisting>
... You should see that the python version is between 2.6 and 3.</para>
<para>On Ubuntu you can get modules from the repository:<programlisting><command>sudo apt-get install</command> python-daemon python-yaml python-argparse python-pexpect</programlisting></para>
<para>On Ubuntu you can get modules from the repository:<programlisting><command>sudo apt-get install</command> python-daemon python-yaml python-argparse</programlisting></para>
<para>On CentOS too you can get modules from the repository:<programlisting><command>sudo yum install</command> python26 python26-PyYAML python26-argparse</programlisting></para>
<para>But in general it is best to set up the modules by getting
a tarball and doing the setup with <computeroutput>python setup.py</computeroutput>, thus:
......@@ -327,13 +327,6 @@ and a reasonable choice is <computeroutput><option>-DENABLE_CLIENT=true</option>
<command>tar</command> <option>-xzf</option> PyYAML-3.10.tar.gz
<command>cd</command> PyYAML-3.10
<command>sudo python</command> setup.py install
# python module for spawning child applications (pexpect):
# (If wget fails, check the <citetitle xlink:href="http://pypi.python.org/pypi/pexpect/" xlink:title="pure-Python pexpect implementation">python-pexpect</citetitle> web site to see what the current version is.)
<command>cd</command> ~
<command>wget</command> http://pypi.python.org/packages/source/p/pexpect-u/pexpect-u-2.5.1.tar.gz
<command>tar</command> <option>-xzvf</option> pexpect-u-2.5.1.tar.
<command>cd</command> pexpect-u-2.5.1
<command>sudo python</command> setup.py install
# python module for assisting programs to turn themselves into daemons (daemon):
# (if wget fails, check the <citetitle xlink:href="http://pypi.python.org/pypi/python-daemon" xlink:title="Python daemon">python-daemon</citetitle> web site to see what the current version is.)
<command>cd</command> ~
......
......@@ -10,7 +10,6 @@ import socket
import signal
import shlex
import shutil
import pexpect
import traceback
import subprocess
import ConfigParser
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment