setup.py code style
This commit is contained in:
parent
519fc8a8d6
commit
7df190cef1
31
setup.py
31
setup.py
@ -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',
|
||||
'offlineimap.repository', 'offlineimap.ui',
|
||||
'offlineimap.utils'],
|
||||
scripts = ['bin/offlineimap'],
|
||||
license = offlineimap.__copyright__ + \
|
||||
", Licensed under the GPL version 2",
|
||||
cmdclass = { 'test': TestCommand}
|
||||
)
|
||||
|
||||
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}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user