Install before updating cache & compiling schemas

Closes #400
This commit is contained in:
Ryan Schmidt 2022-06-03 15:05:15 -05:00 committed by Cole Robinson
parent 3db783dab2
commit 49c2e046a1

View File

@ -264,6 +264,8 @@ class my_install(setuptools.command.install.install):
setuptools.command.install.install.finalize_options(self)
def run(self):
setuptools.command.install.install.run(self)
if not self.distribution.no_update_icon_cache:
print("running gtk-update-icon-cache")
icon_path = os.path.join(self.install_data, "share/icons/hicolor")
@ -275,8 +277,6 @@ class my_install(setuptools.command.install.install):
"share/glib-2.0/schemas")
self.spawn(["glib-compile-schemas", gschema_install])
setuptools.command.install.install.run(self)
###################
# Custom commands #