Skip to content

Commit

Permalink
Fixed issue with generating Python bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
owo committed Mar 1, 2024
1 parent f8d74bb commit be29773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ Makefile
*.egg-info
/dist
.DS_Store
.env
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def run(self):
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=" + ext_dir,
"-DBUILD_SHARED_LIBS=ON",
# Has to be off to compile bindings from pip package
"-DBUILD_PYTHON_STANDALONE=OFF",
"-DBUILD_PYTHON_STANDALONE=ON",
f"-DKENLM_MAX_ORDER={max_order}",
]
cfg = "Debug" if self.debug else "Release"
Expand Down

0 comments on commit be29773

Please sign in to comment.