Skip to content

Commit 5343d28

Browse files
committed
Flat directory hierarchy: move src/pygit2/ to src/
1 parent b0a9343 commit 5343d28

File tree

17 files changed

+2
-4
lines changed

17 files changed

+2
-4
lines changed

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@
5757
libgit2_bin = os.path.join(libgit2_path, 'bin')
5858
libgit2_include = os.path.join(libgit2_path, 'include')
5959
libgit2_lib = os.getenv('LIBGIT2_LIB', os.path.join(libgit2_path, 'lib'))
60-
pygit2_exts = [os.path.join('src', 'pygit2.c')] + [
61-
os.path.join('src', 'pygit2', entry)
62-
for entry in os.listdir('src/pygit2')
63-
if entry.endswith('.c')]
60+
pygit2_exts = [ os.path.join('src', name) for name in os.listdir('src')
61+
if name.endswith('.c') ]
6462

6563
class TestCommand(Command):
6664
"""Command for running unittests without install."""
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)