From: Oleg Broytman Date: Sun, 15 Oct 2017 13:26:58 +0000 (+0300) Subject: Cleanup: Fix flake8 E402 module level import not at top of file X-Git-Tag: 2.8.0~19 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=a57b7c558db331c4a022c609bacba77f75df8046;p=mimedecode.git Cleanup: Fix flake8 E402 module level import not at top of file --- diff --git a/setup.py b/setup.py index c68e4e0..656d754 100755 --- a/setup.py +++ b/setup.py @@ -7,13 +7,13 @@ except ImportError: from distutils.core import setup is_setuptools = False +from mimedecode_version import __version__, __copyright__, __license__ + kw = {} if is_setuptools: kw['install_requires'] = ['m_lib.defenc>=1.0'] kw['tests_require'] = ['m_lib>=3.1'] -from mimedecode_version import __version__, __copyright__, __license__ - setup( name="mimedecode", version=__version__,