thiell/test — Issue #232: Need improved package installation for pip
Author: thiell
Created: 2012-03-03 16:36:59+00:00
State: open
Labels: Lib

Today it is possible to install ClusterShell with pip within virtualenv, or not.

pip install info: [http://www.pip-installer.org/en/latest/installing.html]

However, the python package doesn't create any {{{clush.conf}}} nor {{{groups.conf}}} config file (eg. in {{{/etc/clustershell}}}).

{{{
[root@star ~]# python virtualenv.py pip_env
New python executable in pip_env/bin/python
Installing setuptools...........................done.
Installing pip.....................done.
[root@star ~]# . pip_env/bin/activate
(pip_env)[root@star ~]# pip search clustershell
ClusterShell - ClusterShell library and tools
(pip_env)[root@star ~]# pip install clustershell
Downloading/unpacking clustershell
Downloading clustershell-1.5.1.tar.gz (159Kb): 159Kb downloaded
Running setup.py egg_info for package clustershell
Installing collected packages: clustershell
Running setup.py install for clustershell
changing mode of build/scripts-2.6/clubak from 644 to 755
changing mode of build/scripts-2.6/clush from 644 to 755
changing mode of build/scripts-2.6/nodeset from 644 to 755
/root/pip_env/bin/python -O /tmp/tmpopn5pr.py
removing /tmp/tmpopn5pr.py
changing mode of /root/pip_env/bin/clubak to 755
changing mode of /root/pip_env/bin/nodeset to 755
changing mode of /root/pip_env/bin/clush to 755
Successfully installed clustershell
Cleaning up...
(pip_env)[root@star ~]# clush --version
clush 1.5.1
(pip_env)[root@star ~]# nodeset -l
nodeset: Unknown group source: ""
}}}

We need to find a way to put configuration files in some generic place. I don't know where yet.