Install ws4py

Get the code

ws4py is hosted on github and can be retrieved from there:

$ git clone git@github.com:Lawouach/WebSocket-for-Python.git

Installing the ws4py package is performed as usual:

$ python setup.py install

However, since ws4py is referenced in PyPI, it can also be installed through easy_install, distribute or pip:

$ pip install ws4py
$ easy_install ws4py

Note

ws4py explicitely will not automatically pull out its dependencies. Please install them manually depending on which implementation you’ll be using.