installation.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. The following bundles are available:
  16. :`celery-with-redis`_:
  17. for using Redis as a broker.
  18. :`celery-with-mongodb`_:
  19. for using MongoDB as a broker.
  20. :`django-celery-with-redis`_:
  21. for Django, and using Redis as a broker.
  22. :`django-celery-with-mongodb`_:
  23. for Django, and using MongoDB as a broker.
  24. .. _`celery-with-redis`:
  25. http://pypi.python.org/pypi/celery-with-redis/
  26. .. _`celery-with-mongodb`:
  27. http://pypi.python.org/pypi/celery-with-mongdb/
  28. .. _`django-celery-with-redis`:
  29. http://pypi.python.org/pypi/django-celery-with-redis/
  30. .. _`django-celery-with-mongodb`:
  31. http://pypi.python.org/pypi/django-celery-with-mongdb/
  32. .. _celery-installing-from-source:
  33. Downloading and installing from source
  34. --------------------------------------
  35. Download the latest version of Celery from
  36. http://pypi.python.org/pypi/celery/
  37. You can install it by doing the following,::
  38. $ tar xvfz celery-0.0.0.tar.gz
  39. $ cd celery-0.0.0
  40. $ python setup.py build
  41. # python setup.py install
  42. The last command must be executed as a privileged user if
  43. you are not currently using a virtualenv.
  44. .. _celery-installing-from-git:
  45. Using the development version
  46. -----------------------------
  47. You can clone the repository by doing the following::
  48. $ git clone https://github.com/celery/celery
  49. $ cd celery
  50. $ python setup.py develop
  51. The development version will usually also depend on the development
  52. version of `kombu`_, the messaging framework Celery uses
  53. to send and receive messages, so you should also install that from git::
  54. $ git clone https://github.com/celery/kombu
  55. $ cd kombu
  56. $ python setup.py develop
  57. .. _`kombu`: http://kombu.readthedocs.org/en/latest/