Flat directory hierarchy: move src/pygit2/ to src/
This commit is contained in:
6
setup.py
6
setup.py
@@ -57,10 +57,8 @@ if libgit2_path is None:
|
|||||||
libgit2_bin = os.path.join(libgit2_path, 'bin')
|
libgit2_bin = os.path.join(libgit2_path, 'bin')
|
||||||
libgit2_include = os.path.join(libgit2_path, 'include')
|
libgit2_include = os.path.join(libgit2_path, 'include')
|
||||||
libgit2_lib = os.getenv('LIBGIT2_LIB', os.path.join(libgit2_path, 'lib'))
|
libgit2_lib = os.getenv('LIBGIT2_LIB', os.path.join(libgit2_path, 'lib'))
|
||||||
pygit2_exts = [os.path.join('src', 'pygit2.c')] + [
|
pygit2_exts = [ os.path.join('src', name) for name in os.listdir('src')
|
||||||
os.path.join('src', 'pygit2', entry)
|
if name.endswith('.c') ]
|
||||||
for entry in os.listdir('src/pygit2')
|
|
||||||
if entry.endswith('.c')]
|
|
||||||
|
|
||||||
class TestCommand(Command):
|
class TestCommand(Command):
|
||||||
"""Command for running unittests without install."""
|
"""Command for running unittests without install."""
|
||||||
|
Reference in New Issue
Block a user