Closed rautesamtr closed 6 years ago
Don't merge this yet
With the last commit we additionally add the module install path to sys.path if an initial import of the module fails.
I added a work in progress label, replace it with a ready to merge
one when this is ready :grin:.
This PR adds both a purelib path options and a python option to the build system.
The purelib path option is needed for distribution that don't set this correctly and should fix #18
The python option is just a pass trough of mesons python module find_installation name_or_path parameter and allows to choose which python installation should be used. See http://mesonbuild.com/Python-module.html#find_installation
In addition an empty init.py is added as it is needed for python 2 to find the module.