This is what most GNOME modules now use instead of a shell script, which makes sense given that the build system itself is written in python. This particular copy comes from nautilus ... https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/920