installation.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. .. _celery-installation:
  2. Installation
  3. ============
  4. You can install Celery either via the Python Package Index (PyPI)
  5. or from source.
  6. To install using `pip`,::
  7. $ pip install -U Celery
  8. To install using `easy_install`,::
  9. $ easy_install -U Celery
  10. .. _bundles:
  11. Bundles
  12. -------
  13. Celery also defines a group of bundles that can be used
  14. to install Celery and the dependencies for a given feature.
  15. You can specify these in your requirements or on the ``pip`` comand-line
  16. by using brackets. Multiple bundles can be specified by separating them by
  17. commas.
  18. .. code-block:: bash
  19. $ pip install celery[librabbitmq]
  20. $ pip install celery[librabbitmq,redis]
  21. The following bundles are available:
  22. :celery[librabbitmq]:
  23. for using the librabbitmq C library.
  24. :celery[redis]:
  25. for using Redis as a message transport or as a result backend.
  26. :celery[mongodb]:
  27. for using MongoDB as a message transport, or as a result backend.
  28. :celery[couchdb]:
  29. for using CouchDB as a message transport.
  30. :celery[beanstalk]:
  31. for using Beanstalk as a message transport.
  32. :celery[zookeeper]:
  33. for using Zookeeper as a message transport.
  34. :celery[zeromq]:
  35. for using ZeroMQ as a message transport.
  36. :celery[sqlalchemy]:
  37. for using SQLAlchemy as a message transport, or as a result backend.
  38. .. _celery-installing-from-source:
  39. Downloading and installing from source
  40. --------------------------------------
  41. Download the latest version of Celery from
  42. http://pypi.python.org/pypi/celery/
  43. You can install it by doing the following,::
  44. $ tar xvfz celery-0.0.0.tar.gz
  45. $ cd celery-0.0.0
  46. $ python setup.py build
  47. # python setup.py install
  48. The last command must be executed as a privileged user if
  49. you are not currently using a virtualenv.
  50. .. _celery-installing-from-git:
  51. Using the development version
  52. -----------------------------
  53. With pip
  54. ~~~~~~~~
  55. The Celery development version also requires the development
  56. versions of ``kombu``, ``amqp`` and ``billiard``.
  57. You can install the latest snapshot of these using the following
  58. pip commands::
  59. $ pip install https://github.com/celery/celery/zipball/master#egg=celery
  60. $ pip install https://github.com/celery/billiard/zipball/master#egg=billiard
  61. $ pip install https://github.com/celery/py-amqp/zipball/master#egg=amqp
  62. $ pip install https://github.com/celery/kombu/zipball/master#egg=kombu
  63. With git
  64. ~~~~~~~~
  65. Please the Contributing section.