diff options
author | DjLegolas <djlegolas@protonmail.com> | 2021-12-25 13:34:49 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-12-28 20:26:38 +0100 |
commit | 897955f0a164349d3191c778cfcb37ee9bff9daf (patch) | |
tree | fd91795cd3fd9a7e226e18e3e14008af3ba03247 /setup.py | |
parent | [GtkUI] Fix ETA sorting to match WebUI (diff) | |
download | deluge-897955f0a164349d3191c778cfcb37ee9bff9daf.tar.xz deluge-897955f0a164349d3191c778cfcb37ee9bff9daf.zip |
Remove all Python 2 supportdeluge-2.1.0.dev0
* Removed all __future__ imports from code
* Removed all six dependencies
* Removed all future_builtins imports
* Removed all Python 2 related code
Closes: deluge-torrent/deluge#325
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -9,8 +9,6 @@ # See LICENSE for more details. # -from __future__ import print_function - import glob import os import platform @@ -18,7 +16,7 @@ import sys from distutils.command.build import build as _build from distutils.command.clean import clean as _clean from distutils.command.install_data import install_data as _install_data -from shutil import rmtree +from shutil import rmtree, which from setuptools import Command, find_packages, setup from setuptools.command.test import test as _test @@ -27,12 +25,6 @@ import msgfmt from version import get_version try: - from shutil import which -except ImportError: - # PY2 Fallback - from distutils.spawn import find_executable as which - -try: from sphinx.setup_command import BuildDoc except ImportError: @@ -548,7 +540,6 @@ install_requires = [ 'pyopenssl', 'pyxdg', 'mako', - 'six', 'setuptools', "pywin32; sys_platform == 'win32'", "certifi; sys_platform == 'win32'", @@ -599,7 +590,7 @@ setup( 'Operating System :: POSIX', 'Topic :: Internet', ], - python_requires='>=2.7', + python_requires='>=3.5', license='GPLv3+', cmdclass=cmdclass, setup_requires=setup_requires, |