danpovey / lilcom

Small compression utility
Other
33 stars 10 forks source link

Fix installation when cmake is installed with pip install #42

Closed csukuangfj closed 2 years ago

csukuangfj commented 2 years ago

Fix https://github.com/danpovey/lilcom/issues/41#issuecomment-1244431242

pip install cmake will create a package named cmake in the python site-packages directory.

This PR adds __init__.py to lilcom/cmake to make it a package. Since Python searches the current directory first, it will not use the cmake package from the site-packages directory.