Skip to content

Commit

Permalink
XX
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
  • Loading branch information
mballance committed Oct 18, 2023
1 parent a6aa334 commit 366b415
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions python/zsp_parser/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

import os

def get_deps():
return []

def get_libs():
return ["zsp-parser"]

def get_libdirs():
pkg_dir = os.path.dirname(os.path.abspath(__file__))
return [pkg_dir]

def get_incdirs():
pkg_dir = os.path.dirname(os.path.abspath(__file__))
if os.path.isdir(os.path.join(pkg_dir, "include")):
return [os.path.join(pkg_dir, "include")]
else:
root_dir = os.path.abspath(os.path.join(pkg_dir, "../.."))
return [os.path.join(root_dir, "src", "include")]

0 comments on commit 366b415

Please sign in to comment.