From 272352969834598cfd20f3e8b15916aa3ccebbbb Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Mon, 29 Mar 2021 20:28:58 +0200 Subject: Clean ECM's attic --- attic/modules/FindPyKDE4.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 attic/modules/FindPyKDE4.py (limited to 'attic/modules/FindPyKDE4.py') diff --git a/attic/modules/FindPyKDE4.py b/attic/modules/FindPyKDE4.py deleted file mode 100644 index 7916aa60..00000000 --- a/attic/modules/FindPyKDE4.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2014, Raphael Kubo da Costa -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - -import PyKDE4.kdecore - -if __name__ == '__main__': - try: - import PyKDE4.pykdeconfig - pykdecfg = PyKDE4.pykdeconfig.Configuration() - sip_dir = pykdecfg.pykde_sip_dir - sip_flags = pykdecfg.pykde_kde_sip_flags - except ImportError: - # PyQt4 >= 4.10.0 was built with configure-ng.py instead of - # configure.py, so pyqtconfig.py and pykdeconfig.py are not installed. - sip_dir = PyKDE4.kdecore.PYKDE_CONFIGURATION['sip_dir'] - sip_flags = PyKDE4.kdecore.PYKDE_CONFIGURATION['sip_flags'] - - print('pykde_version:%06.x' % PyKDE4.kdecore.version()) - print('pykde_version_str:%s' % PyKDE4.kdecore.versionString()) - print('pykde_sip_dir:%s' % sip_dir) - print('pykde_sip_flags:%s' % sip_flags) -- cgit v1.2.1