diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/celery/README | 17 | ||||
-rw-r--r-- | python/celery/celery.SlackBuild | 6 |
2 files changed, 11 insertions, 12 deletions
diff --git a/python/celery/README b/python/celery/README index afa76c63db..6bc0f28112 100644 --- a/python/celery/README +++ b/python/celery/README @@ -1,13 +1,14 @@ Distributed Task Queue -Task queues are used as a mechanism to distribute work across threads or machines. +Task queues are used as a mechanism to distribute work across threads or +machines. -A task queue's input is a unit of work, called a task, dedicated worker processes -then constantly monitor the queue for new work to perform. +A task queue's input is a unit of work, called a task, dedicated worker +processes then constantly monitor the queue for new work to perform. -Celery communicates via messages, usually using a broker to mediate between clients -and workers. To initiate a task a client puts a message on the queue, the broker -then delivers the message to a worker. +Celery communicates via messages, usually using a broker to mediate +between clients and workers. To initiate a task a client puts a message +on the queue, the broker then delivers the message to a worker. -A Celery system can consist of multiple workers and brokers, giving way to high -availability and horizontal scaling. +A Celery system can consist of multiple workers and brokers, giving way +to high availability and horizontal scaling. diff --git a/python/celery/celery.SlackBuild b/python/celery/celery.SlackBuild index be24cc427a..48f979a937 100644 --- a/python/celery/celery.SlackBuild +++ b/python/celery/celery.SlackBuild @@ -53,10 +53,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.rst MANIFEST.in $PKG/usr/doc/$PRGNAM-$VERSION |