yousseb / meld

Meld for macOS
https://yousseb.github.io/meld/
GNU General Public License v2.0
2.27k stars 120 forks source link

build_env: Automatically get the jhbuild Python site_packages path. #140

Closed carlosperate closed 9 months ago

carlosperate commented 1 year ago

So that it doesn't need to be manually updated in the shell script. If the Python version or path changes this should still provide the right site_packages path.

I tried to give building this a go, but it fails at the compiling cairo step which I'm not sure how to fix. Hopefully this PR at least saves you a few minutes to fix the pip install step, as jhbuild fetches and builds Python 3.10 now and the --taget ~/gtk/inst/lib/python3.9/site-packages had to be updated.