Skip to content

Commit

Permalink
cl renamed to cell
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Aug 2, 2012
1 parent 39a5748 commit 5412ac8
Show file tree
Hide file tree
Showing 47 changed files with 163 additions and 163 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2011 VMware, Inc.
Copyright (c) 2011-2012 VMware, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Expand Up @@ -5,6 +5,6 @@ include MANIFEST.in
include README.rst
include README
include setup.cfg
recursive-include cl *.py
recursive-include cell *.py
recursive-include requirements *.txt
recursive-include examples *.py
14 changes: 7 additions & 7 deletions README.rst
@@ -1,30 +1,30 @@
#############################################
cl - Actor framework for Kombu
cell - Actor framework for Kombu
#############################################

:Version: 0.0.3

Synopsis
========

`cl` (pronounced *cell*) is an actor framework for `Kombu`_.
`cell` is an actor framework for `Kombu`_.

.. _`Kombu`: http://pypi.python.org/pypi/kombu


Installation
============

You can install `cl` either via the Python Package Index (PyPI)
You can install `cell` either via the Python Package Index (PyPI)
or from source.

To install using `pip`,::

$ pip install cl
$ pip install cell

To install using `easy_install`,::

$ easy_install cl
$ easy_install cell

If you have downloaded a source tarball you can install it
by doing the following,::
Expand All @@ -47,12 +47,12 @@ Bug tracker
===========

If you have any suggestions, bug reports or annoyances please report them
to our issue tracker at http://github.com/celery/cl/issues/
to our issue tracker at http://github.com/celery/cell/issues/

Contributing
============

Development of `cl` happens at Github: http://github.com/celery/cl
Development of `cell` happens at Github: http://github.com/celery/cell

You are highly encouraged to participate in the development. If you don't
like Github (for some reason) you're welcome to send regular patches.
Expand Down
6 changes: 3 additions & 3 deletions cl/__init__.py → cell/__init__.py
Expand Up @@ -6,7 +6,7 @@
__version__ = '.'.join(map(str, VERSION[0:3])) + ''.join(VERSION[3:])
__author__ = 'Ask Solem'
__contact__ = 'ask@celeryproject.org'
__homepage__ = 'http://github.com/celery/cl/'
__homepage__ = 'http://github.com/celery/cell/'
__docformat__ = 'restructuredtext en'

# -eof meta-
Expand All @@ -17,8 +17,8 @@
from types import ModuleType

all_by_module = {
'cl.actors': ['Actor'],
'cl.agents': ['Agent'],
'cell.actors': ['Actor'],
'cell.agents': ['Agent'],
}

object_origins = {}
Expand Down
4 changes: 2 additions & 2 deletions cl/actors.py → cell/actors.py
@@ -1,4 +1,4 @@
"""cl.actors"""
"""cell.actors"""

from __future__ import absolute_import, with_statement

Expand Down Expand Up @@ -42,7 +42,7 @@ class Actor(object):

AsyncResult = AsyncResult

Error = exceptions.clError
Error = exceptions.CellError
Next = exceptions.Next
NoReplyError = exceptions.NoReplyError
NoRouteError = exceptions.NoRouteError
Expand Down
2 changes: 1 addition & 1 deletion cl/agents.py → cell/agents.py
@@ -1,4 +1,4 @@
"""cl.agents"""
"""cell.agents"""

from __future__ import absolute_import

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cl/bin/base.py → cell/bin/base.py
@@ -1,4 +1,4 @@
"""cl.bin.base"""
"""cell.bin.base"""

from __future__ import absolute_import

Expand Down
8 changes: 4 additions & 4 deletions cl/bin/cl.py → cell/bin/cell.py
@@ -1,4 +1,4 @@
"""cl.bin.cl"""
"""cell.bin.cell"""

from __future__ import absolute_import

Expand All @@ -8,12 +8,12 @@
from cyme import Agent
from cyme.utils import instantiate

__all__ = ['cl', 'main']
__all__ = ['cell', 'main']

DEFAULT_BROKER_URL = 'amqp://guest:guest@localhost:5672//'


class cl(Command):
class cell(Command):
args = '<agent object names>'

option_list = (
Expand Down Expand Up @@ -46,7 +46,7 @@ def run(self, *actors, **kwargs):


def main(argv=None):
return cl().execute_from_commandline(argv)
return cell().execute_from_commandline(argv)


if __name__ == '__main__':
Expand Down
6 changes: 3 additions & 3 deletions cl/exceptions.py → cell/exceptions.py
@@ -1,8 +1,8 @@
"""cl.exceptions"""
"""cell.exceptions"""

from __future__ import absolute_import

__all__ = ['clError', 'Next', 'NoReplyError', 'NotBoundError']
__all__ = ['CellError', 'Next', 'NoReplyError', 'NotBoundError']

FRIENDLY_ERROR_FMT = """
Remote method raised exception:
Expand All @@ -11,7 +11,7 @@
"""


class clError(Exception):
class CellError(Exception):
"""Remote method raised exception."""
exc = None
traceback = None
Expand Down
2 changes: 1 addition & 1 deletion cl/g/__init__.py → cell/g/__init__.py
Expand Up @@ -5,7 +5,7 @@
from cyme.utils import cached_property

G_NOT_FOUND = """\
cl does not currently support %r, please use one of %s\
cell does not currently support %r, please use one of %s\
"""


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cl/models.py → cell/models.py
@@ -1,4 +1,4 @@
"""cl.models"""
"""cell.models"""

from __future__ import absolute_import

Expand Down
4 changes: 2 additions & 2 deletions cl/presence.py → cell/presence.py
@@ -1,4 +1,4 @@
"""cl.presence"""
"""cell.presence"""

from __future__ import absolute_import, with_statement

Expand All @@ -23,7 +23,7 @@


class State(LogMixin):
logger_name = 'cl.presence.state'
logger_name = 'cell.presence.state'

def __init__(self, presence):
self.presence = presence
Expand Down
6 changes: 3 additions & 3 deletions cl/results.py → cell/results.py
@@ -1,17 +1,17 @@
"""cl.result"""
"""cell.result"""

from __future__ import absolute_import
from __future__ import with_statement

from kombu.pools import producers

from .exceptions import clError, NoReplyError
from .exceptions import CellError, NoReplyError

__all__ = ['AsyncResult']


class AsyncResult(object):
Error = clError
Error = CellError
NoReplyError = NoReplyError

def __init__(self, ticket, actor):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion contrib/release/doc4allmods
Expand Up @@ -2,7 +2,7 @@

PACKAGE="$1"
SKIP_PACKAGES="$PACKAGE tests"
SKIP_FILES="cl.bin.rst"
SKIP_FILES="cell.bin.rst"

modules=$(find "$PACKAGE" -name "*.py")

Expand Down
8 changes: 4 additions & 4 deletions contrib/release/py3k-run-tests
@@ -1,15 +1,15 @@
#!/bin/bash
base=${1:-.}
nosetests -vd cl.tests \
nosetests -vd cell.tests \
--with-coverage3 \
--cover3-branch \
--cover3-xml \
--cover3-xml-file="$base/coverage.xml" \
--cover3-html \
--cover3-html-dir="$base/cover" \
--cover3-package=cl \
--cover3-package=cell \
--cover3-exclude=" \
cl \
cl.tests.* \
cell \
cell.tests.* \
--with-xunit \
--xunit-file="$base/nosetests.xml"
2 changes: 1 addition & 1 deletion contrib/release/verify-reference-index.sh
@@ -1,7 +1,7 @@
#!/bin/bash

verify_index() {
modules=$(grep "cl." "$1" | \
modules=$(grep "cell." "$1" | \
perl -ple's/^\s*|\s*$//g;s{\.}{/}g;')
retval=0
for module in $modules; do
Expand Down
8 changes: 4 additions & 4 deletions docs/.templates/page.html
Expand Up @@ -4,15 +4,15 @@

{% if version == "0.2" %}
<p class="developmentversion">
This document is for cl's development version, which can be
This document is for cell's development version, which can be
significantly different from previous releases. Get old docs here:

<a href="http://cl.readthedocs.org/en/latest/{{ pagename }}{{ file_suffix }}">2.1</a>.
<a href="http://cell.readthedocs.org/en/latest/{{ pagename }}{{ file_suffix }}">2.1</a>.
</p>
{% else %}
<p>
This document describes Celery {{ version }}. For development docs,
<a href="http://celery.github.com/cl/{{ pagename }}{{ file_suffix }}">go here</a>.
This document describes cell {{ version }}. For development docs,
<a href="http://celery.github.com/cell/{{ pagename }}{{ file_suffix }}">go here</a>.
</p>
{% endif %}

Expand Down
14 changes: 7 additions & 7 deletions docs/conf.py
Expand Up @@ -10,7 +10,7 @@
# absolute, like shown here.
sys.path.append(os.path.join(os.pardir, "tests"))
sys.path.append(os.path.join(this, "_ext"))
import cl
import cell

# General configuration
# ---------------------
Expand All @@ -30,17 +30,17 @@
master_doc = 'index'

# General information about the project.
project = u'cl'
copyright = u'2011, Ask Solem & Contributors'
project = u'cell'
copyright = u'2011-2012, Ask Solem & Contributors'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = ".".join(map(str, cl.VERSION[0:2]))
version = ".".join(map(str, cell.VERSION[0:2]))
# The full version, including alpha/beta/rc tags.
release = cl.__version__
release = cell.__version__

exclude_trees = ['.build']

Expand All @@ -64,7 +64,7 @@
html_use_index = True

latex_documents = [
('index', 'cl.tex', ur'cl Documentation',
('index', 'cell.tex', ur'cell Documentation',
ur'Ask Solem & Contributors', 'manual'),
]

Expand All @@ -79,5 +79,5 @@
### Issuetracker

issuetracker = "github"
issuetracker_project = "ask/cl"
issuetracker_project = "celery/cell"
issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'
6 changes: 3 additions & 3 deletions docs/index.rst
@@ -1,6 +1,6 @@
=======================
cl - Actors for Kombu
=======================
=========================
cell - Actors for Kombu
=========================

Contents:

Expand Down
@@ -1,11 +1,11 @@
========================
cl.bin.base
cell.actors
========================

.. contents::
:local:
.. currentmodule:: cl.bin.base
.. currentmodule:: cell.actors

.. automodule:: cl.bin.base
.. automodule:: cell.actors
:members:
:undoc-members:
@@ -1,11 +1,11 @@
========================
cl.bin.cl
cell.agents
========================

.. contents::
:local:
.. currentmodule:: cl.bin.cl
.. currentmodule:: cell.agents

.. automodule:: cl.bin.cl
.. automodule:: cell.agents
:members:
:undoc-members:
11 changes: 11 additions & 0 deletions docs/reference/cell.bin.base.rst
@@ -0,0 +1,11 @@
========================
cell.bin.base
========================

.. contents::
:local:
.. currentmodule:: cell.bin.base

.. automodule:: cell.bin.base
:members:
:undoc-members:
11 changes: 11 additions & 0 deletions docs/reference/cell.bin.cell.rst
@@ -0,0 +1,11 @@
========================
cell.bin.cell
========================

.. contents::
:local:
.. currentmodule:: cell.bin.cell

.. automodule:: cell.bin.cell
:members:
:undoc-members:
11 changes: 11 additions & 0 deletions docs/reference/cell.exceptions.rst
@@ -0,0 +1,11 @@
========================
cell.exceptions
========================

.. contents::
:local:
.. currentmodule:: cell.exceptions

.. automodule:: cell.exceptions
:members:
:undoc-members:

0 comments on commit 5412ac8

Please sign in to comment.