This will compile all .py files into .so files. The outputs are in build/lib.linux-x86_64-cpython-311 in case of Python 3.11 in 64bit Linux. You can include this output directory to your PYTHONPATH or ...
brew install libomp openblas echo "export LDFLAGS='-L/usr/local/opt/openblas/lib'" >> ~/.bash_profile echo "export CPPFLAGS='-I/usr/local/opt/openblas/include ...