diff --git a/.gitignore b/.gitignore index ee077445..b8b99b70 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ Makefile *.egg-info /dist .DS_Store +.env diff --git a/setup.py b/setup.py index 3071b8cf..0ddc6868 100644 --- a/setup.py +++ b/setup.py @@ -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"