From ce0888f759cbc483c3d2a6cce221caa85c3d8206 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 7 May 2017 20:20:18 +0300 Subject: [PATCH] Stop supporting Python 2.6 --- ANNOUNCE | 31 +++---------------------------- ChangeLog | 4 ++++ INSTALL.txt | 2 +- setup.py | 1 - 4 files changed, 8 insertions(+), 30 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 3be4b00..1b42e8f 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -23,35 +23,10 @@ parts ("attachments") all parts are decoded. Decoding can be controlled by command-line options. -Version 2.6.0 (2014-06-08) +Version 2.8.0 (2017-05-??) - Make options -e/-i to work with multipart subparts. + Stop supporting Python 2.6. - Add option -I to completely ignore a part - no headers, no body, - no warning. - - Open all output files in binary mode. Output os.linesep instead of '\n'. - - Test --save-headers|body|message masks one after another to allow - saving a message or a subpart to more than one file. - -WHAT'S NEW in version 2.5.0 (2014-03-18) - - Add option --set-header=header:value to set header's value (only at the top -level). - - Add option --set-param=header:param=value to set header parameter's value -(only at the top level). The header must exist. - - Add option -B to skip content-transfer-decoding binary attachments. - - Add options --save-headers, --save-body and --save-message to save decoded -headers/bodies/messages to files. - - Add option -O to set the destination directory for output files. - - Fix a minor bug: if a multipart message (or a subpart) lacks any textual -content - avoid putting an excessive newline. WHERE TO GET @@ -59,7 +34,7 @@ WHERE TO GET git clone http://git.phdru.name/mimedecode.git git clone git://git.phdru.name/mimedecode.git - Requires: Python 2.6+, m_lib 3.1+, m_lib.defenc 1.0+. + Requires: Python 2.7+, m_lib 3.1+, m_lib.defenc 1.0+. Recommends: configured mailcap database. diff --git a/ChangeLog b/ChangeLog index 5f55b7f..b9964e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Version 2.8.0 (2017-05-??) + + Stop supporting Python 2.6. + Version 2.7.0 (2017-04-26) Use m_lib.defenc instead of m_lib; install it from PyPI. diff --git a/INSTALL.txt b/INSTALL.txt index 3dcbcbe..2ee102e 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,4 +1,4 @@ -mimedecode requires Python2; preferred versions are 2.6 or 2.7. +mimedecode requires Python2.7. Installation script setup.py requires setuptools. If you don't have it installed setup.py will try to download and install it. diff --git a/setup.py b/setup.py index 72b770a..88892d1 100755 --- a/setup.py +++ b/setup.py @@ -31,7 +31,6 @@ setup(name = "mimedecode", 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2 :: Only', ], -- 2.39.2