pep8 fixes for setup.py
as reported by flake8
This commit is contained in:
2
setup.py
2
setup.py
@@ -67,6 +67,7 @@ libgit2_lib = os.getenv('LIBGIT2_LIB', os.path.join(libgit2_path, 'lib'))
|
|||||||
pygit2_exts = [os.path.join('src', name) for name in os.listdir('src')
|
pygit2_exts = [os.path.join('src', name) for name in os.listdir('src')
|
||||||
if name.endswith('.c')]
|
if name.endswith('.c')]
|
||||||
|
|
||||||
|
|
||||||
class TestCommand(Command):
|
class TestCommand(Command):
|
||||||
"""Command for running unittests without install."""
|
"""Command for running unittests without install."""
|
||||||
|
|
||||||
@@ -155,7 +156,6 @@ class sdist_files_from_git(sdist):
|
|||||||
self.write_manifest()
|
self.write_manifest()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cmdclass = {
|
cmdclass = {
|
||||||
'test': TestCommand,
|
'test': TestCommand,
|
||||||
'sdist': sdist_files_from_git}
|
'sdist': sdist_files_from_git}
|
||||||
|
Reference in New Issue
Block a user