changeset 080b69e89887 in modules/account_statement_ofx:default
details: 
https://hg.tryton.org/modules/account_statement_ofx?cmd=changeset;node=080b69e89887
description:
        Use find_packages to discover packages

        issue7963
        review253111002
diffstat:

 setup.py |  20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diffs (57 lines):

diff -r 2910fa74847f -r 080b69e89887 setup.py
--- a/setup.py  Wed Feb 06 22:34:13 2019 +0100
+++ b/setup.py  Fri Mar 22 15:33:43 2019 +0100
@@ -2,14 +2,11 @@
 # 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):
@@ -71,7 +68,8 @@
     package_dir={'trytond.modules.account_statement_ofx': '.'},
     packages=(
         ['trytond.modules.account_statement_ofx'] +
-        ['trytond.modules.account_statement_ofx.%s' % p for p in 
find_packages()]
+        ['trytond.modules.account_statement_ofx.%s' % p
+            for p in find_packages()]
         ),
     package_data={
         'trytond.modules.account_statement_ofx': (info.get('xml', [])
@@ -101,7 +99,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',
@@ -111,6 +108,7 @@
         'Topic :: Office/Business',
         ],
     license='GPL-3',
+    python_requires='>=3.4',
     install_requires=requires,
     dependency_links=dependency_links,
     zip_safe=False,
@@ -121,8 +119,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