pulseaudio-equalizer-ladspa / equalizer

Pulseaudio LADSPA Equalizer
GNU General Public License v3.0
139 stars 15 forks source link

Python options #23

Closed rautesamtr closed 6 years ago

rautesamtr commented 6 years ago

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.

rautesamtr commented 6 years ago

Don't merge this yet

rautesamtr commented 6 years ago

With the last commit we additionally add the module install path to sys.path if an initial import of the module fails.

FFY00 commented 6 years ago

I added a work in progress label, replace it with a ready to merge one when this is ready :grin:.