summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorDjLegolas <djlegolas@protonmail.com>2021-12-25 13:34:49 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2021-12-28 20:26:38 +0100
commit897955f0a164349d3191c778cfcb37ee9bff9daf (patch)
treefd91795cd3fd9a7e226e18e3e14008af3ba03247 /packaging
parent[GtkUI] Fix ETA sorting to match WebUI (diff)
downloaddeluge-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 'packaging')
-rwxr-xr-xpackaging/source/make_release.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/packaging/source/make_release.py b/packaging/source/make_release.py
index e1cee0036..38fc3d566 100755
--- a/packaging/source/make_release.py
+++ b/packaging/source/make_release.py
@@ -7,18 +7,11 @@
# the additional special exception to link portions of this program with the OpenSSL library.
# See LICENSE for more details.
#
-from __future__ import print_function, unicode_literals
-
import os.path
-import sys
from hashlib import sha256
from subprocess import call, check_output
-PY2 = sys.version_info.major == 2
-
sdist_formats = 'xztar'
-if PY2:
- sdist_formats = 'tar'
version = check_output(['python', 'version.py']).strip().decode()