Updated code quality class doc string, import ignore & comment spaces in setup.py
This commit is contained in:
parent
fba8c1ffb4
commit
135715905f
10
setup.py
10
setup.py
|
@ -27,6 +27,8 @@ EXTRAS_REQUIRE = {
|
||||||
|
|
||||||
|
|
||||||
class InstallCmd(install):
|
class InstallCmd(install):
|
||||||
|
'''Install cmd'''
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# prepare icons directories
|
# prepare icons directories
|
||||||
try:
|
try:
|
||||||
|
@ -84,7 +86,7 @@ if __name__ == "__main__":
|
||||||
"msgpack-python" if msgpack.version[:2] < (0, 6) else "msgpack")
|
"msgpack-python" if msgpack.version[:2] < (0, 6) else "msgpack")
|
||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
try:
|
||||||
import umsgpack
|
import umsgpack # noqa:F401
|
||||||
installRequires.append("umsgpack")
|
installRequires.append("umsgpack")
|
||||||
except ImportError:
|
except ImportError:
|
||||||
packages += ['pybitmessage.fallback.umsgpack']
|
packages += ['pybitmessage.fallback.umsgpack']
|
||||||
|
@ -115,11 +117,11 @@ if __name__ == "__main__":
|
||||||
long_description=README,
|
long_description=README,
|
||||||
license='MIT',
|
license='MIT',
|
||||||
# TODO: add author info
|
# TODO: add author info
|
||||||
#author='',
|
# author='',
|
||||||
#author_email='',
|
# author_email='',
|
||||||
url='https://bitmessage.org',
|
url='https://bitmessage.org',
|
||||||
# TODO: add keywords
|
# TODO: add keywords
|
||||||
#keywords='',
|
# keywords='',
|
||||||
install_requires=installRequires,
|
install_requires=installRequires,
|
||||||
tests_require=requirements,
|
tests_require=requirements,
|
||||||
test_suite='tests.unittest_discover',
|
test_suite='tests.unittest_discover',
|
||||||
|
|
Reference in New Issue
Block a user