Skip to content

Commit

Permalink
Merge pull request #838 from henryiii/patch-2
Browse files Browse the repository at this point in the history
fix: handle None case for python library
  • Loading branch information
asmorkalov authored May 29, 2023
2 parents 6b73d90 + 2e44d30 commit 264e05b
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 264e05b

Please sign in to comment.