From 132179cd295ac82d2fe3b36edc0e7255211b1683 Mon Sep 17 00:00:00 2001 From: Eduardo Chauca Date: Tue, 6 Jan 2026 12:23:39 -0500 Subject: [PATCH] removed old build_resources.sh --- .../resources/build_resources.sh | 47 ------------------- .../resources/build_resources.sh | 45 ------------------ 2 files changed, 92 deletions(-) delete mode 100755 python/browser_widget/resources/build_resources.sh delete mode 100755 python/thumbnail_widget/resources/build_resources.sh diff --git a/python/browser_widget/resources/build_resources.sh b/python/browser_widget/resources/build_resources.sh deleted file mode 100755 index 24dad4e..0000000 --- a/python/browser_widget/resources/build_resources.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (c) 2013 Shotgun Software Inc. -# -# CONFIDENTIAL AND PROPRIETARY -# -# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit -# Source Code License included in this distribution package. See LICENSE. -# By accessing, using, copying or modifying this work you indicate your -# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights -# not expressly granted therein are reserved by Shotgun Software Inc. - -# The path to output all built .py files to: -UI_PYTHON_PATH=../ui - -# Remove any problematic profiles from pngs. -for f in *.png; do mogrify $f; done - -# Helper functions to build UI files -function build_qt { - echo " > Building " $2 - - # compile ui to python - $1 $2 > $UI_PYTHON_PATH/$3.py - - # replace PySide imports with tank.platform.qt and remove line containing Created by date - sed -i "" -e "s/from PySide import/from tank.platform.qt import/g" -e "/# Created:/d" $UI_PYTHON_PATH/$3.py -} - -function build_ui { - build_qt "pyside-uic --from-imports" "$1.ui" "$1" -} - -function build_res { - build_qt "pyside-rcc -py3" "$1.qrc" "$1_rc" -} - - -# build UI's: -echo "building user interfaces..." -build_ui header -build_ui item -build_ui browser - -# build resources -echo "building resources..." -build_res resources diff --git a/python/thumbnail_widget/resources/build_resources.sh b/python/thumbnail_widget/resources/build_resources.sh deleted file mode 100755 index b732678..0000000 --- a/python/thumbnail_widget/resources/build_resources.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (c) 2013 Shotgun Software Inc. -# -# CONFIDENTIAL AND PROPRIETARY -# -# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit -# Source Code License included in this distribution package. See LICENSE. -# By accessing, using, copying or modifying this work you indicate your -# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights -# not expressly granted therein are reserved by Shotgun Software Inc. - -# The path to output all built .py files to: -UI_PYTHON_PATH=../ui - -# Remove any problematic profiles from pngs. -for f in *.png; do mogrify $f; done - -# Helper functions to build UI files -function build_qt { - echo " > Building " $2 - - # compile ui to python - $1 $2 > $UI_PYTHON_PATH/$3.py - - # replace PySide imports with tank.platform.qt and remove line containing Created by date - sed -i "" -e "s/from PySide import/from tank.platform.qt import/g" -e "/# Created:/d" $UI_PYTHON_PATH/$3.py -} - -function build_ui { - build_qt "pyside-uic --from-imports" "$1.ui" "$1" -} - -function build_res { - build_qt "pyside-rcc -py3" "$1.qrc" "$1_rc" -} - - -# build UI's: -echo "building user interfaces..." -build_ui thumbnail_widget - -# build resources -echo "building resources..." -build_res resources