diff --git a/setup.py b/setup.py index e7400bb..56bf96f 100644 --- a/setup.py +++ b/setup.py @@ -53,6 +53,9 @@ # PEP-561: https://www.python.org/dev/peps/pep-0561/ package_data={"promise": ["py.typed"]}, extras_require={"test": tests_require}, - install_requires=["typing>=3.6.4", "six"], + install_requires=[ + "typing>=3.6.4; python_version < '3.5'", + "six" + ], tests_require=tests_require, )