PageRenderTime 35ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/installation.rst

https://bitbucket.org/excieve/pyhs/
ReStructuredText | 55 lines | 37 code | 18 blank | 0 comment | 0 complexity | 6881b44e184aa544d8c3106f376ef9df MD5 | raw file
Possible License(s): MIT
  1. Installation
  2. ============
  3. HandlerSocket plugin
  4. --------------------
  5. First, you'll have to get this working. At the moment of writing the only way
  6. to do this, was getting the source code, compiling it and loading into the
  7. MySQL instance. Keep the HandlerSocket up to date as the client gets updated
  8. from time to time as new features or changes appear in the plugin.
  9. .. seealso::
  10. `Installation guide <https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL/blob/master/docs-en/installation.en.txt>`_
  11. HandlerSocket installation guide at the official repository.
  12. The Client
  13. ----------
  14. At the moment you can install pyhs by either using `pip <http://pip.openplans.org/>`_,
  15. easy_install, downloading from PyPI or getting source directly from bitbucket.
  16. Pip way
  17. ~~~~~~~
  18. This is very simple, just run::
  19. pip install python-handler-socket
  20. Or this to get the latest (not yet released on PyPI)::
  21. pip install hg+http://bitbucket.org/excieve/pyhs#egg=python-handler-socket
  22. This command will install the package into your site-packages or dist-packages.
  23. Source
  24. ~~~~~~
  25. Clone the source from the repository and install it::
  26. hg clone http://bitbucket.org/excieve/pyhs
  27. cd pyhs
  28. python setup.py install
  29. By default additional C speedups are also built and installed (if possible).
  30. However, if they are not needed, please use ``--without-speedups`` option.
  31. Testing installation
  32. ~~~~~~~~~~~~~~~~~~~~
  33. Check your installation by running this in Python interpreter::
  34. from pyhs import __version__
  35. print __version__
  36. This should show currently installed version of pyhs.
  37. You're all set now.