From aee757f559d180e9e4459263ae01a78675cf26bf Mon Sep 17 00:00:00 2001 From: Sukhman S Date: Tue, 11 Jul 2023 14:37:09 +0530 Subject: [PATCH] (fix): fix checking python system version --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 29c7e4f..35fb009 100644 --- a/setup.py +++ b/setup.py @@ -5,8 +5,8 @@ from setuptools import setup -if sys.version < '3.8': - print("This version is not supported.") +if sys.version_info < (3, 8): + print('This version is not supported') sys.exit(1) with open('README.rst') as f: @@ -23,7 +23,7 @@ version='0.5.3', url='http://www.github.com/sk364/codechef-cli', keywords="codechefcli codechef cli programming competitive-programming competitive-coding", - license='GNU','MIT', + license='GNU', author='Sachin Kukreja', author_email='skad5455@gmail.com', description='CodeChef Command Line Interface',