GNOME Bugzilla – Bug 797011
uninstalled: use usercustomize, not sitecustomize
Last modified: 2018-09-13 15:15:52 UTC
Created attachment 373427 [details] [review] patch Currently, gst-uninstalled is using sitecustomize.py for adding gi override tweaks. However, if the standard Python libraries come before this file in sys.path, then sitecustomize.py will never be run because the "import sitecustomize" done in site.py will use the standard Python libraries instead. This can be seen by running "import sitecustomize; print(sitecustomize.__file__)" inside the uninstalled environment, as well as by checking gi.override.__path__ and seeing that the tweaks are missing (and the overrides are misbehaving). Switch to using usercustomize.py, which has no match in the standard libraries and thus will be correctly imported.
Created attachment 373428 [details] [review] patch Removed Signed-off-by, which is not used by this repo.
(ping)
Review of attachment 373428 [details] [review]: LGTM :)
Sorry I had that one stack on my local branch and forgot to push :-) Thanks.
No problem and thank you!