From e9993451c3367c07b55986c339d29228ae28c61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 12 Jun 2021 00:20:59 +0200 Subject: [PATCH] remove Python version checks --- gallery_dl/__init__.py | 15 ++++----------- setup.py | 3 --- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/gallery_dl/__init__.py b/gallery_dl/__init__.py index be60a603..d5893b77 100644 --- a/gallery_dl/__init__.py +++ b/gallery_dl/__init__.py @@ -6,23 +6,16 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. -from __future__ import unicode_literals, print_function +import sys +import json +import logging +from . import version, config, option, output, extractor, job, util, exception __author__ = "Mike Fährmann" __copyright__ = "Copyright 2014-2021 Mike Fährmann" __license__ = "GPLv2" __maintainer__ = "Mike Fährmann" __email__ = "mike_faehrmann@web.de" - -import sys - -if sys.hexversion < 0x3040000: - sys.exit("Python 3.4+ required") - -import json -import logging -from . import version, config, option, output, extractor, job, util, exception - __version__ = version.__version__ diff --git a/setup.py b/setup.py index a82176e0..ab708d86 100644 --- a/setup.py +++ b/setup.py @@ -7,9 +7,6 @@ import os.path import warnings from setuptools import setup -if sys.hexversion < 0x3040000: - sys.exit("Python 3.4+ required") - def read(fname): path = os.path.join(os.path.dirname(__file__), fname)