Skip to content

Commit bf9acfe

Browse files
committed
apply copilot's suggestion
1 parent 5e140c5 commit bf9acfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_extensions():
3636
extra_compile_args["cxx"] = ["-fopenmp"]
3737
extra_link_args.append("-lgomp")
3838

39-
this_dir = os.path.dirname(os.path.curdir)
39+
this_dir = os.path.abspath(os.path.dirname(__file__))
4040
extensions_dir = os.path.join(this_dir, library_name, "csrc")
4141
sources = list(glob.glob(os.path.join(extensions_dir, "*.cpp")))
4242

0 commit comments

Comments
 (0)