Skip to content

Commit 264e05b

Browse files
authored
Merge pull request #838 from henryiii/patch-2
fix: handle None case for python library
2 parents 6b73d90 + 2e44d30 commit 264e05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def main():
3636
]
3737

3838
python_version = cmaker.CMaker.get_python_version()
39-
python_lib_path = cmaker.CMaker.get_python_library(python_version).replace(
39+
python_lib_path = (cmaker.CMaker.get_python_library(python_version) or "").replace(
4040
"\\", "/"
4141
)
4242
python_include_dir = cmaker.CMaker.get_python_include_dir(python_version).replace(

0 commit comments

Comments
 (0)