Skip to content

Commit 4105c1f

Browse files
committed
DLFW changes
1 parent c517fef commit 4105c1f

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
@@ -32,11 +32,8 @@
3232

3333

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

4138

4239
def get_git_revision_short_hash() -> str:

0 commit comments

Comments
 (0)