Skip to content

Commit 16f0aa2

Browse files
committed
chore: Update get_root_dir call for ngc
1 parent ffbcc7a commit 16f0aa2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@
3131

3232

3333
def get_root_dir() -> Path:
34-
return Path(
35-
subprocess.check_output(["git", "rev-parse", "--show-toplevel"])
36-
.decode("ascii")
37-
.strip()
38-
)
34+
dir_path = os.path.dirname(os.path.realpath(__file__))
35+
return dir_path
3936

4037

4138
def get_git_revision_short_hash() -> str:

0 commit comments

Comments
 (0)