diff --git a/python/tk_desktop/licenses.html b/python/tk_desktop/licenses.html index 4456886b..bea281a8 100644 --- a/python/tk_desktop/licenses.html +++ b/python/tk_desktop/licenses.html @@ -980,129 +980,6 @@ - -
PySide2 v.5.15.0
--Portions related to pySide Copyright (C) 2020The Qt Company. This Autodesk -software contains PySide2 v.5.15.0. pySide is licensed under the GNU Lesser -General Public License v.3, which can be found at -https://www.gnu.org/licenses/lgpl-3.0.html. A text copy of this license is -included with the download of this Autodesk software. You may obtain a copy of -the source code for PySide2 v. 5.15.0 from www.autodesk.com/lgplsource or by -sending a written request to: - - Autodesk, Inc. - Attention: General Counsel - Legal Department - The Landmark @ One Market - Suite 400 - San Francisco, CA 94105 - -Your written request must: - -1. Contain a self-addressed CD/DVD mailer (or envelope sufficiently large to - hold a DVD) with postage sufficient to cover the amount of the current U.S. - Post Office First Class postage rate for CD/DVD mailers (or the envelope you - have chosen) weighing 5 ounces from San Francisco, California USA to your - indicated address; and - -2. Identify: - a. This Autodesk software name and release number; - b. That you are requesting the source code for PySide2 v. 5.15.0 and; - c. The above URL (www.autodesk.com/lgplsource )so that Autodesk may - properly respond to your request. The offer to receive this pySide - source code via the above URL (www.autodesk.com/lgplsource ) or by - written request to Autodesk is valid for a period of three (3) years - from the date you purchased your license to this Autodesk software. - -You may modify, debug and relink PySide to this Autodesk software as provided -under the terms of the GNU Lesser General Public License v.3. --
PySide6 v6.2.1
--Portions related to pySide6 v6.2.1 are Copyright (C) 2020The Qt Company. This -Autodesk software contains pySide6 v6.2.1. pySide6 v6.2.1 is licensed under -the GNU Lesser General Public License v.3, which can be found at -https://www.gnu.org/licenses/lgpl-3.0.html. A text copy of this license is -included with the download of this Autodesk software. You may obtain a copy of -the source code for pySide6 v6.2.1 from www.autodesk.com/lgplsource or by -sending a written request to: - - Autodesk, Inc. - Attention: General Counsel - Legal Department - The Landmark @ One Market - Suite 400 - San Francisco, CA 94105 - -Your written request must: - -1. Contain a self-addressed CD/DVD mailer (or envelope sufficiently large to - hold a DVD) with postage sufficient to cover the amount of the current U.S. - Post Office First Class postage rate for CD/DVD mailers (or the envelope you - have chosen) weighing 5 ounces from San Francisco, California USA to your - indicated address; and - -2. Identify: - a. This Autodesk software name and release number; - b. That you are requesting the source code for pySide6 v6.2.1 and; - c. The above URL (www.autodesk.com/lgplsource )so that Autodesk may - properly respond to your request. The offer to receive this pySide - source code via the above URL (www.autodesk.com/lgplsource ) or by - written request to Autodesk is valid for a period of three (3) years - from the date you purchased your license to this Autodesk software. - -You may modify, debug and relink PySide to this Autodesk software as provided -under the terms of the GNU Lesser General Public License v.3. --
PySide6 v6.5.3
--Portions related to pySide6 v6.5.3 are Copyright (C) 2020The Qt Company. This -Autodesk software contains pySide6 v6.5.3. pySide6 v6.5.3 is licensed under -the GNU Lesser General Public License v.3, which can be found at -https://www.gnu.org/licenses/lgpl-3.0.html. A text copy of this license is -included with the download of this Autodesk software. You may obtain a copy of -the source code for pySide6 v6.5.3 from www.autodesk.com/lgplsource or by -sending a written request to: - - Autodesk, Inc. - Attention: General Counsel - Legal Department - The Landmark @ One Market - Suite 400 - San Francisco, CA 94105 - -Your written request must: - -1. Contain a self-addressed CD/DVD mailer (or envelope sufficiently large to - hold a DVD) with postage sufficient to cover the amount of the current U.S. - Post Office First Class postage rate for CD/DVD mailers (or the envelope you - have chosen) weighing 5 ounces from San Francisco, California USA to your - indicated address; and - -2. Identify: - a. This Autodesk software name and release number; - b. That you are requesting the source code for pySide6 v6.5.3 and; - c. The above URL (www.autodesk.com/lgplsource )so that Autodesk may - properly respond to your request. The offer to receive this pySide - source code via the above URL (www.autodesk.com/lgplsource ) or by - written request to Autodesk is valid for a period of three (3) years - from the date you purchased your license to this Autodesk software. - -You may modify, debug and relink PySide to this Autodesk software as provided -under the terms of the GNU Lesser General Public License v.3. --
python-api v3.6.2
diff --git a/python/tk_desktop/licenses.py b/python/tk_desktop/licenses.py index a20977e6..9a3c86ea 100644 --- a/python/tk_desktop/licenses.py +++ b/python/tk_desktop/licenses.py @@ -8,6 +8,7 @@ # agreement to the Shotgun Pipeline Toolkit Source Code License. All rights # not expressly granted therein are reserved by Shotgun Software Inc. +import logging import os from sgtk.platform.qt import QtGui @@ -16,6 +17,33 @@ LICENSE_LOCATION = os.path.join(os.path.dirname(__file__), "licenses.html") +_logger = logging.getLogger(__name__) + +# LBP-approved Qt LGPL attribution template. +# Version placeholders are filled at runtime by get_pyside_license_html(). +_PYSIDE_LGPL_TEMPLATE = """\ + +Qt v. {qt_version} / PySide {pyside_version}
+
+The Qt Toolkit is Copyright (C) 2022 The Qt Company Ltd. and other
+contributors. This Autodesk software contains Qt v. {qt_version}, as modified
+by Autodesk. Qt is licensed under the GNU Lesser General Public License v.3,
+which can be found at https://www.gnu.org/licenses/lgpl-3.0.html. You may
+obtain a copy of the license and source code for Qt v. {qt_version}, as
+modified by Autodesk, from
+https://github.com/autodesk-forks/qt5/tree/adsk-v{qt_version} or by sending
+a written request to:
+
+ Autodesk, Inc.
+ Attention: General Counsel
+ Legal Department
+ The Landmark at One Market Street, Suite 400
+ San Francisco, CA 94105
+
+