From 8263d4659ae56eb029603c65086d5e38a4e657a3 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 25 Apr 2019 21:17:55 +0200 Subject: [PATCH] remove support for python < 3.5 --- Spectrum2/backend.py | 3 --- Spectrum2/iochannel.py | 3 --- setup.py | 1 + transWhat/bot.py | 3 --- transWhat/buddy.py | 3 --- transWhat/deferred.py | 3 --- transWhat/group.py | 3 --- transWhat/registersession.py | 3 --- transWhat/session.py | 3 --- transWhat/threadutils.py | 3 --- transWhat/transwhat.py | 3 --- transWhat/utils.py | 3 --- transWhat/whatsappbackend.py | 3 --- transWhat/yowsupwrapper.py | 3 --- 14 files changed, 1 insertion(+), 39 deletions(-) diff --git a/Spectrum2/backend.py b/Spectrum2/backend.py index 6174810..934535a 100644 --- a/Spectrum2/backend.py +++ b/Spectrum2/backend.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/Spectrum2/iochannel.py b/Spectrum2/iochannel.py index 851a197..7c84a92 100644 --- a/Spectrum2/iochannel.py +++ b/Spectrum2/iochannel.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/setup.py b/setup.py index 2c477a8..d5645ab 100755 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ setup(name='transwhat', url='https://github.com/stv0g/transwhat', author='Steffen Vogel', author_email='stv0g@0l.de', + python_requires='>=3.5', classifiers=[ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Development Status :: 4 - Beta', diff --git a/transWhat/bot.py b/transWhat/bot.py index f60a911..1515918 100644 --- a/transWhat/bot.py +++ b/transWhat/bot.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/buddy.py b/transWhat/buddy.py index ffcdd44..c232d09 100644 --- a/transWhat/buddy.py +++ b/transWhat/buddy.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/deferred.py b/transWhat/deferred.py index 6d075ae..f8d26d9 100644 --- a/transWhat/deferred.py +++ b/transWhat/deferred.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/group.py b/transWhat/group.py index b30140d..261a215 100644 --- a/transWhat/group.py +++ b/transWhat/group.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/registersession.py b/transWhat/registersession.py index 82c0698..2511847 100644 --- a/transWhat/registersession.py +++ b/transWhat/registersession.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/session.py b/transWhat/session.py index f02bf5f..9678f56 100644 --- a/transWhat/session.py +++ b/transWhat/session.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/threadutils.py b/transWhat/threadutils.py index 4e07ed0..3705c00 100644 --- a/transWhat/threadutils.py +++ b/transWhat/threadutils.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/transwhat.py b/transWhat/transwhat.py index 7491189..27fff6e 100755 --- a/transWhat/transwhat.py +++ b/transWhat/transwhat.py @@ -1,8 +1,5 @@ #!/usr/bin/python -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/utils.py b/transWhat/utils.py index 5b316fc..d21e7e0 100644 --- a/transWhat/utils.py +++ b/transWhat/utils.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/whatsappbackend.py b/transWhat/whatsappbackend.py index 3390dfc..551c1ee 100644 --- a/transWhat/whatsappbackend.py +++ b/transWhat/whatsappbackend.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3" diff --git a/transWhat/yowsupwrapper.py b/transWhat/yowsupwrapper.py index 486e7fe..822660c 100644 --- a/transWhat/yowsupwrapper.py +++ b/transWhat/yowsupwrapper.py @@ -1,6 +1,3 @@ -# use unicode encoding for all literals by default (for python2.x) -from __future__ import unicode_literals - __author__ = "Steffen Vogel" __copyright__ = "Copyright 2015-2017, Steffen Vogel" __license__ = "GPLv3"