Skip to content

Commit

Permalink
Small fixes:
Browse files Browse the repository at this point in the history
- Invalid backend msg does not start with a new line.
- setup.py now reads README.rst instead of duplicating stuff. Looks good on pypi.
- README.rst got minor updates.
  • Loading branch information
rgalanakis committed Jun 12, 2014
1 parent 1819db2 commit 539942c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ goless
======

The **goless** library provides **Go** programming language
semantics built on top of **gevent**, **PyPy**, or **Stackless Python**.
semantics, such as channels, select, and goroutines,
built on top of **gevent**, **PyPy**, or **Stackless Python**.
It works with PyPy, CPython, and Stackless Python interpreters.

Using goless, you can write Go-style concurrent programs in Python.

**goless** has extensive documentation and examples.
See <https://goless.readthedocs.org/> for more information.
See https://goless.readthedocs.org/ for more information.
3 changes: 2 additions & 1 deletion goless/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
from .backends import current as _be



# noinspection PyUnresolvedReferences
from .channels import chan, ChannelClosed
# noinspection PyUnresolvedReferences
from .selecting import dcase, rcase, scase, select


version_info = 0, 5, 0
version_info = 0, 5, 1
version = '.'.join([str(v) for v in version_info])

__version__ = version
Expand Down
3 changes: 1 addition & 2 deletions goless/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ def propagate_exc(self, errtype, *args):
return GeventBackend()


NO_VALID_BACKEND_MSG = """
No valid backend could be created.
NO_VALID_BACKEND_MSG = """No valid backend could be created.
Valid backends are
gevent (for CPython, Stackless Python, or PyPy with newer version of gevent)
and
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
author=__author__,
author_email=__email__,
description="Provides a Go-like concurrent programming style in Python.",
long_description="""goless provides Go-like channels and a select function
in Python, written on top of gevent, PyPy, or Stackless Python.
Using goless, you can write Go-style concurrent programs in Python.
""",
long_description=open('README.rst').read(),
license=__license__,
keywords='tasklet stackless go concurrent '
'threading async gevent go golang',
Expand Down

0 comments on commit 539942c

Please sign in to comment.