summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.md3
-rw-r--r--setup.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 83b49af..54fca39 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -5,7 +5,8 @@ HISTORY
Accepted a patch from Sylvain Marie (https://github.com/smarie): now the
decorator module can decorate generator functions by preserving their
-being generator functions.
+being generator functions. Set python_requires='>=2.6, !=3.0.*, !=3.1.*'
+in setup.py, as suggested by https://github.com/hugovk.
## 4.3.1 (2018-08-04)
diff --git a/setup.py b/setup.py
index 5343a98..7533762 100644
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ if __name__ == '__main__':
py_modules=['decorator'],
keywords="decorators generic utility",
platforms=["All"],
+ python_requires='>=2.6, !=3.0.*, !=3.1.*',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',