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
|
import logging
|
||||||
from test.OLItest import TextTestRunner, TestLoader, OLITestLib
|
from test.OLItest import TextTestRunner, TestLoader, OLITestLib
|
||||||
|
|
||||||
|
|
||||||
class TestCommand(Command):
|
class TestCommand(Command):
|
||||||
"""runs the OLI testsuite"""
|
"""runs the OLI testsuite"""
|
||||||
description = """Runs the test suite. In order to execute only a single
|
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)
|
TextTestRunner(verbosity=2, failfast=True).run(suite)
|
||||||
|
|
||||||
|
|
||||||
setup(name = "offlineimap",
|
setup(name="offlineimap",
|
||||||
version = offlineimap.__version__,
|
version=offlineimap.__version__,
|
||||||
description = offlineimap.__description__,
|
description=offlineimap.__description__,
|
||||||
long_description = offlineimap.__description__,
|
long_description=offlineimap.__description__,
|
||||||
author = offlineimap.__author__,
|
author=offlineimap.__author__,
|
||||||
author_email = offlineimap.__author_email__,
|
author_email=offlineimap.__author_email__,
|
||||||
url = offlineimap.__homepage__,
|
url=offlineimap.__homepage__,
|
||||||
packages = ['offlineimap', 'offlineimap.folder',
|
packages=['offlineimap', 'offlineimap.folder',
|
||||||
'offlineimap.repository', 'offlineimap.ui',
|
'offlineimap.repository', 'offlineimap.ui',
|
||||||
'offlineimap.utils'],
|
'offlineimap.utils'],
|
||||||
scripts = ['bin/offlineimap'],
|
scripts=['bin/offlineimap'],
|
||||||
license = offlineimap.__copyright__ + \
|
license=offlineimap.__copyright__ + ", Licensed under the GPL version 2",
|
||||||
", Licensed under the GPL version 2",
|
cmdclass={'test': TestCommand}
|
||||||
cmdclass = { 'test': TestCommand}
|
)
|
||||||
)
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user