Przeglądaj źródła

Add info on installing the development version

Ask Solem 11 lat temu
rodzic
commit
22285df963
2 zmienionych plików z 15 dodań i 12 usunięć
  1. 1 1
      celery/events/__init__.py
  2. 14 11
      docs/includes/installation.txt

+ 1 - 1
celery/events/__init__.py

@@ -56,7 +56,7 @@ def Event(type, _fields=None, __dict__=dict, __now__=time.time, **fields):
 
 
 def group_from(type):
-    """Get the group part of a event type name.
+    """Get the group part of an event type name.
 
     E.g.::
 

+ 14 - 11
docs/includes/installation.txt

@@ -68,18 +68,21 @@ you are not currently using a virtualenv.
 Using the development version
 -----------------------------
 
-You can clone the repository by doing the following::
+With pip
+~~~~~~~~
 
-    $ git clone https://github.com/celery/celery
-    $ cd celery
-    $ python setup.py develop
+The Celery development version also requires the development
+versions of ``kombu``, ``amqp`` and ``billiard``.
 
-The development version will usually also depend on the development
-version of `kombu`_, the messaging framework Celery uses
-to send and receive messages, so you should also install that from git::
+You can install the latest snapshot of these using the following
+pip commands::
 
-    $ git clone https://github.com/celery/kombu
-    $ cd kombu
-    $ python setup.py develop
+    $ pip install https://github.com/celery/celery/zipball/master#egg=celery
+    $ pip install https://github.com/celery/billiard/zipball/master#egg=billiard
+    $ pip install https://github.com/celery/py-amqp/zipball/master#egg=amqp
+    $ pip install https://github.com/celery/kombu/zipball/master#egg=kombu
 
-.. _`kombu`: http://kombu.readthedocs.org/en/latest/
+With git
+~~~~~~~~
+
+Please the Contributing section.