From ce6204d241866abbd0f907c204b61ce21891fd29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Fri, 3 Apr 2020 21:56:32 +0200
Subject: [PATCH] 1.0.2

---
 .travis.yml          | 2 +-
 CHANGELOG.md         | 6 ++++++
 MANIFEST.in          | 1 -
 coolamqp/__init__.py | 2 +-
 setup.py             | 3 ++-
 5 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 97cbfc9..7e506eb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ script:
   - python setup.py test
   - python -m stress_tests
 install:
-  - pip install -r requirements.txt
+  - python setup.py install
   - pip install -r stress_tests/requirements.txt
   - pip install yapf nose2 mock coverage nose2[coverage_plugin]
 after_success:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ac7f447..4b499fe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+# v1.0.2:
+
+* **bugfix release** due to some bad flags in setup.py it was impossible
+  to install CoolAMQP on Python 3
+
+
 # v1.0.1:
 
 * added support for channel flow control and blocking and 
diff --git a/MANIFEST.in b/MANIFEST.in
index b360357..8ffadb1 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,3 @@
 include LICENSE.md
 include README.md
 include CHANGELOG.md
-include requirements.txt
diff --git a/coolamqp/__init__.py b/coolamqp/__init__.py
index 2cecd62..7e7a5b7 100644
--- a/coolamqp/__init__.py
+++ b/coolamqp/__init__.py
@@ -1,2 +1,2 @@
 # coding=UTF-8
-__version__ = '1.0.1'
+__version__ = '1.0.2'
diff --git a/setup.py b/setup.py
index 6847b46..224844c 100644
--- a/setup.py
+++ b/setup.py
@@ -7,11 +7,12 @@ from coolamqp import __version__
 setup(keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availability'],
       version=__version__,
       packages=find_packages(include=['coolamqp', 'coolamqp.*']),
-      install_requires=['six', 'monotonic', 'futures', 'typing'],
+      install_requires=['six', 'monotonic'],
       # per coverage version for codeclimate-reporter
       tests_require=["nose2", "coverage", "nose2[coverage_plugin]"],
       test_suite='nose2.collector.collector',
       extras_require={
+          ':python_version == "2.7"': ['futures', 'typing'],
           'prctl': ['prctl']
       }
       )
-- 
GitLab