Skip to content

Commit

Permalink
No libgit2 needed for Python module
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Nov 1, 2023
1 parent a6a9588 commit 2c37ecd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,15 +422,13 @@ def macros(self):
macros = [
("HAVE_CURL", 1),
("HAVE_EXPAT", 1),
("HAVE_PNG", 1),
("HAVE_GIT2", 0),
("KLAYOUT_MAJOR_VERSION", self.major_version()),
("KLAYOUT_MINOR_VERSION", self.minor_version()),
("GSI_ALIAS_INSPECT", 1),
]

if platform.system() == "Darwin" and check_libpng():
macros += [("HAVE_PNG", 1)]
else:
macros += [("HAVE_PNG", 1)]
return macros

def minor_version(self):
Expand Down

0 comments on commit 2c37ecd

Please sign in to comment.