From 5c64b499c2cf6f168970aa7ae51fe4997cdd89fc Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Sun, 10 Feb 2019 18:30:59 +0100 Subject: Officially remove Python < 2.6 support (#239) Perhaps previous commits have already broken older Python support. This commit mostly declares Python 2.6+ support. --- setup.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0ccc2376..317487d4 100644 --- a/setup.py +++ b/setup.py @@ -21,8 +21,6 @@ License :: OSI Approved :: BSD License Natural Language :: English Operating System :: OS Independent Programming Language :: Python :: 2 -Programming Language :: Python :: 2.4 -Programming Language :: Python :: 2.5 Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 @@ -53,8 +51,8 @@ def howto_install_setuptools(): py_version = sys.version_info[:2] -if py_version < (2, 4): - print("ERROR: this package requires Python 2.4 or later!") +if py_version < (2, 6): + print("ERROR: this package requires Python 2.6 or later!") sys.exit(1) requires = [ln.strip() for ln in open('requirements.txt').readlines()] @@ -159,7 +157,6 @@ params.update({ 'pysnmp.hlapi.v3arch.asyncio', 'pysnmp.hlapi.v3arch.asyncore', 'pysnmp.hlapi.v3arch.asyncore.sync', - 'pysnmp.hlapi.v3arch.asyncore.sync.compat', 'pysnmp.hlapi.v3arch.twisted', 'pysnmp.proto', 'pysnmp.proto.mpmod', -- cgit v1.2.1