Python module installation using CMake
Hi there.
I've installed Gmsh from sources using CMake, and it works perfectly fine except in regard to the Python module. The files gmsh.py
is copied into the /usr/local/lib/
folder (I'm using Ubuntu 20.04) instead of being installed in the corresponding /usr/local/lib/pythonX.Y/dist-packages/
directory. I've taken a look at the CMakeLists.txt
file and apparently CMake is simply doing what it is instructed to do.
I have some experience writing Python scripts which install Python modules from source code. If that's OK with you, I can prepare a pull request with a similar solution for Gmsh.
Thanks for your great work.