setup.py code style

This commit is contained in:
Rodolfo García Peñas (kix) 2020-10-25 19:23:52 +01:00
parent 519fc8a8d6
commit 7df190cef1

View File

@ -26,6 +26,7 @@ import offlineimap
import logging
from test.OLItest import TextTestRunner, TestLoader, OLITestLib
class TestCommand(Command):
"""runs the OLI testsuite"""
description = """Runs the test suite. In order to execute only a single
@ -48,19 +49,17 @@ class TestCommand(Command):
TextTestRunner(verbosity=2, failfast=True).run(suite)
setup(name = "offlineimap",
version = offlineimap.__version__,
description = offlineimap.__description__,
long_description = offlineimap.__description__,
author = offlineimap.__author__,
author_email = offlineimap.__author_email__,
url = offlineimap.__homepage__,
packages = ['offlineimap', 'offlineimap.folder',
setup(name="offlineimap",
version=offlineimap.__version__,
description=offlineimap.__description__,
long_description=offlineimap.__description__,
author=offlineimap.__author__,
author_email=offlineimap.__author_email__,
url=offlineimap.__homepage__,
packages=['offlineimap', 'offlineimap.folder',
'offlineimap.repository', 'offlineimap.ui',
'offlineimap.utils'],
scripts = ['bin/offlineimap'],
license = offlineimap.__copyright__ + \
", Licensed under the GPL version 2",
cmdclass = { 'test': TestCommand}
)
scripts=['bin/offlineimap'],
license=offlineimap.__copyright__ + ", Licensed under the GPL version 2",
cmdclass={'test': TestCommand}
)