From 8f5fef121599a04ee6dc041d813576dd8015944c Mon Sep 17 00:00:00 2001 From: Michael Strain Date: Mon, 11 Jan 2021 13:50:15 -0500 Subject: [PATCH] Changing how 3.5 is dropped Currently rpyc 5.0.0 gets installed on Python 3.5 (IIRC setup.py isn't executed on the installed system for wheels). This change will tell pip that this version isn't compatible with 3.5. --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 87991dfa..8929acf5 100644 --- a/setup.py +++ b/setup.py @@ -8,9 +8,6 @@ except ImportError: from distutils.core import setup -if sys.version_info < (3, 6): - sys.exit("requires python 3.6 and up") - here = os.path.dirname(__file__) exec(open(os.path.join(here, 'rpyc', 'version.py')).read()) @@ -43,6 +40,7 @@ # ], # ), platforms=["POSIX", "Windows"], + python_requires='>=3.6', use_2to3=False, zip_safe=False, long_description=open(os.path.join(here, "README.rst"), "r").read(),