Skip to content

Commit

Permalink
fix setup (#3253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhanghyi authored Sep 22, 2023
1 parent 1cb7b05 commit 17b5438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def parsed_package_data():

def build_learning_engine():
ext_modules = [graphlearn_ext()]
if torch:
if torch and os.path.exists(glt_root_path):
sys.path.append(
os.path.join(glt_root_path, "graphlearn_torch", "python", "utils")
)
Expand Down

0 comments on commit 17b5438

Please sign in to comment.