pythonpipxlib

How do you install Python Xlib with pip?


"Python Xlib" (http://pypi.python.org/pypi/Python%20Xlib) is a low level python library for working with xlib. I have installed it on my Ubuntu Linux machine via apt, i.e. sudo aptitude install python-xlib. However is it possible to install it with pip in a virtualenv? I am writing a software package that uses xlib, and would like to be able to include an install_requires line in my setup.py.

Since the package is on PyPI (and appears in results of pip search xlib), I tried to pip install … the following package names but nothing worked: python\ xlib, python-xlib, Python Xlib, Python-Xlib, Python%20Xlib, but none worked.

Is it possible to install python xlib with pip?


Solution

  • sudo pip install svn+https://svn.code.sf.net/p/python-xlib/code/trunk/
    

    Worked for me.