import sys from setuptools import setup, find_packages if sys.version_info.major < 3: sys.exit("Error: Please upgrade to Python3") setup()