Skip to content

Commit

Permalink
fix: handle None case for python library
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Apr 27, 2023
1 parent 6b73d90 commit 2e44d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main():
]

python_version = cmaker.CMaker.get_python_version()
python_lib_path = cmaker.CMaker.get_python_library(python_version).replace(
python_lib_path = (cmaker.CMaker.get_python_library(python_version) or "").replace(
"\\", "/"
)
python_include_dir = cmaker.CMaker.get_python_include_dir(python_version).replace(
Expand Down

0 comments on commit 2e44d30

Please sign in to comment.