Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixiong-tang committed May 25, 2024
1 parent 74a1f42 commit 8f290b5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import os

DIR = os.path.abspath(os.path.dirname(__file__))


def get_include() -> str:
installed_path = os.path.join(DIR, "include")
source_path = os.path.join(os.path.dirname(DIR), "include")
return installed_path if os.path.exists(installed_path) else source_path

0 comments on commit 8f290b5

Please sign in to comment.