|
From: Claudio K. <ck...@cl...> - 2015-11-25 15:25:29
|
Hi Andy,
On Tue, Nov 10, 2015 at 6:36 PM, Andreas Maier <MA...@de...> wrote:
>
> Hi,
> I have recently worked on the installability of PyWBEM.
>
Thanks!
> It is particularly interesting to run it on distros that I have not yet
> tested with. For example, Debian would also be interesting (M2Crypto
> requires special treatment of Ubuntu and likely also of Debian); but I
> failed to get it installed properly on VirtualBox on Windows 7.
>
Just tested a clone of the current pywbem repo (20151125) on a Debian
Wheezy.
# cat /etc/debian_version
7.2
# uname -a
Linux debian-wheezy 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
The setup fails because a newer version of setuptools is required.
# python setup.py install
Error: The required version of setuptools (>=12.0) is not available, and
can't be
installed while this script is running. Please install the required version
first, using:
pip install --upgrade setuptools>=12.0
Wheezy ships with:
# dpkg -l | grep setuptool | awk '{print $2" "$3}'
python-setuptools 0.6.24-1
python-setuptools-git 0.4.2-1
So I installed python-pip and ran:
# pip install --upgrade setuptools>=12.0
Now the setup started and seems to be successful. Full output can be found
here:
https://gist.github.com/Napsty/a9e0951c9fae33351606
Verified pywbem in python:
root@debian-wheezy:~/src/pywbem/src# python
Python 2.7.3 (default, Jan 2 2013, 13:56:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywbem
>>> import pkg_resources
>>> pkg_resources.get_distribution("pywbem").version
'0.8.0rc1'
>>>
Thanks again.
cheers,
Claudio
|