Get the code¶
ws4py is hosted on github and can be retrieved from there:
$ git clone firstname.lastname@example.org: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
ws4py explicitly will not automatically pull out its dependencies. Please install them manually depending on which implementation you’ll be using.