From 0ffba8a59ecdc6a3e3373ac1feb95ff00b01f5d9 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Tue, 10 Jan 2017 07:20:26 +0100 Subject: [PATCH] at last, builds --- README.md | 4 +++- coolamqp/objects.py | 6 ++---- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6f6c407..71277c3 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ A **magical** AMQP client, that uses **heavy sorcery** to achieve speeds that ot tl;dr - [this](coolamqp/framing/definitions.py) is **machine-generated** compile-time. [this](coolamqp/framing/compilation/content_property.py) **generates classes run-time**, -and there are memoryviews **_everywhere_**. +and there are memoryviews **_everywhere_**. + +This is borderline absurd. The project is actively maintained and used in a commercial project. Tests can run diff --git a/coolamqp/objects.py b/coolamqp/objects.py index 62809bb..d02c7b6 100644 --- a/coolamqp/objects.py +++ b/coolamqp/objects.py @@ -34,9 +34,7 @@ class Message(object): Please take care with passing empty bodies, as py-amqp has some failure on it. :param body: stream of octets - :type body: str (py2) or bytes (py3) or ... - a list of memoryviews, if you find the right option. It's disabled by default. - check coolamqp.attaches.consumer.Consumer() for details + :type body: str (py2) or bytes (py3) :param properties: AMQP properties to be sent along. default is 'no properties at all' You can pass a dict - it will be passed to MessageProperties, @@ -44,7 +42,7 @@ class Message(object): :type properties: MessageProperties instance, None or a dict """ if isinstance(body, six.text_type): - raise TypeError('body cannot be a text type!') + raise TypeError(u'body cannot be a text type!') self.body = body diff --git a/setup.py b/setup.py index b9fee13..dfc890a 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup setup(name=u'CoolAMQP', version='0.8', - description=u'AMQP client with sane reconnects', + description=u'The fastest AMQP client', author=u'DMS Serwis s.c.', author_email=u'piotrm@smok.co', url=u'https://github.com/smok-serwis/coolamqp', -- GitLab