changeset 6a579db95782 in modules/account_statement_ofx:5.0
details: 
https://hg.tryton.org/modules/account_statement_ofx?cmd=changeset;node=6a579db95782
description:
        Remove python 2.7 support falsely declared
diffstat:

 setup.py |  19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diffs (49 lines):

diff -r 573053a33b80 -r 6a579db95782 setup.py
--- a/setup.py  Sun Jan 03 13:04:53 2021 +0100
+++ b/setup.py  Mon Feb 01 23:27:19 2021 +0100
@@ -1,15 +1,12 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 
-from setuptools import setup, find_packages
-import re
+import io
 import os
-import io
-try:
-    from configparser import ConfigParser
-except ImportError:
-    from configparser import ConfigParser
+import re
+from configparser import ConfigParser
+from setuptools import setup, find_packages
 
 
 def read(fname):
@@ -103,7 +100,6 @@
         'Natural Language :: Slovenian',
         'Natural Language :: Spanish',
         'Operating System :: OS Independent',
-        'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
@@ -113,6 +109,7 @@
         'Topic :: Office/Business',
         ],
     license='GPL-3',
+    python_requires='>=3.4',
     install_requires=requires,
     dependency_links=dependency_links,
     zip_safe=False,
@@ -123,8 +120,4 @@
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
     tests_require=tests_require,
-    use_2to3=True,
-    convert_2to3_doctests=[
-        'tests/scenario_account_statement_ofx.rst',
-        ],
     )

Reply via email to