From bac1953b119073b958a0a489bdd85c9dd46d11ce Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 7 Feb 2021 12:51:52 +0100 Subject: [PATCH] Add python 3.5 as minimal required version. Python 3.4 added the asyncio module into the standard library, but starting with 3.5 we can make use of the "async def" style syntax. Python 3.8 deprecated the current decorator style declarations. --- requirements.txt | 1 - setup.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index ac341a7..4ab2ac1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -asyncio urwid==2.0.1 pyperclip==1.6.2 requests diff --git a/setup.py b/setup.py index 9e73b2b..86a90c3 100644 --- a/setup.py +++ b/setup.py @@ -14,8 +14,8 @@ url='https://github.com/haskellcamargo/sclack', scripts=["app.py"], packages=find_packages(), + python_requires=">=3.5", install_requires=[ - 'asyncio', 'urwid>2', 'pyperclip', 'requests',