# HG changeset patch
# User Matt Harbison <
matt_h...@yahoo.com>
# Date 1649716540 25200
# Mon Apr 11 15:35:40 2022 -0700
# Node ID bd8a161b8a7dc47e8782cf95dc60277a84926081
# Parent 619fb61a985ea0c2b006037a53fed8dcbdbdc838
setup: add a missing QT_API import
This broke in e234bc23f052.
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -563,6 +563,8 @@
[os.path.join(root, f) for f in os.listdir(root)
if f.endswith('.ico') or f == 'README.txt']))
+ from tortoisehg.hgqt.qtcore import QT_API
+
# for PyQt, see
http://www.py2exe.org/index.cgi/Py2exeAndPyQt
if QT_API == 'PyQt6':
includes = ['PyQt6.sip']