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.
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, asjhbuild
fetches and builds Python 3.10 now and the--taget ~/gtk/inst/lib/python3.9/site-packages
had to be updated.