Select Git revision
-
Rafael Guterres Jeffman authored
When running pylint against 'setup.py' it warns that an import is not used. While it is not directly used, this is a fix for an issue with older versions of Python, so this change tells pylint to ignore the error.
Rafael Guterres Jeffman authoredWhen running pylint against 'setup.py' it warns that an import is not used. While it is not directly used, this is a fix for an issue with older versions of Python, so this change tells pylint to ignore the error.
setup.py 381 B
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa # pylint:disable=unused-import
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)