From 539942ccf9902566240b1dfdb92e92aef9b73dba Mon Sep 17 00:00:00 2001 From: Rob Galanakis Date: Thu, 12 Jun 2014 11:33:14 -0500 Subject: [PATCH] Small fixes: - 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. --- README.rst | 7 +++++-- goless/__init__.py | 3 ++- goless/backends.py | 3 +-- setup.py | 5 +---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.rst b/README.rst index 98901be..d3e2161 100644 --- a/README.rst +++ b/README.rst @@ -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 for more information. +See https://goless.readthedocs.org/ for more information. diff --git a/goless/__init__.py b/goless/__init__.py index 1e80058..a0b6272 100644 --- a/goless/__init__.py +++ b/goless/__init__.py @@ -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 diff --git a/goless/backends.py b/goless/backends.py index 82cb1e1..a3bb60a 100644 --- a/goless/backends.py +++ b/goless/backends.py @@ -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 diff --git a/setup.py b/setup.py index 9fe6449..0a756b8 100644 --- a/setup.py +++ b/setup.py @@ -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',