<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-2"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"var\(--ff-mono\)";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"Predformátované HTML Char";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PredformtovanHTMLChar
        {mso-style-name:"Predformátované HTML Char";
        mso-style-priority:99;
        mso-style-link:"Predformátované HTML";
        font-family:"Courier New";
        mso-ligatures:none;
        mso-fareast-language:SK;}
span.hljs-keyword
        {mso-style-name:hljs-keyword;}
span.hljs-literal
        {mso-style-name:hljs-literal;}
span.hljs-string
        {mso-style-name:hljs-string;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=SK link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hallo, <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a larger application, just this small test, I'm trying pyinstaller.<o:p></o:p></p><p class=MsoNormal>I am testing a simple PyQgis application. When I add the line "from qgis.core import QgsApplication" and make an exe via pyinstaller, the application crashes with an error:<o:p></o:p></p><p class=MsoNormal>When I comment out the line "<b><span style='color:red'>from qgis.core import QgsApplication</span></b>" the application window starts normally after creating the EXE.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>See Code: <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>import sys<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>from qgis.PyQt.QtWidgets import QApplication, QMainWindow, QWidget, QHBoxLayout, QLabel<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><b><span style='font-family:"Calibri Light",sans-serif;color:red;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>from qgis.core import QgsApplication<o:p></o:p></span></b></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>class MainWindow(QMainWindow):<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    def __init__(self, parent=None):<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        super(MainWindow, self).__init__(parent)<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        self.setWindowTitle("Mapová prezeračka ---  Pebieha načítanie dát ...")<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        self.init_gui()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        self.show()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    def init_gui(self):<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        self.formular = QWidget()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        layoutFormulara = QHBoxLayout()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        self.formular.setLayout(layoutFormulara)<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        boxLayout1 = QHBoxLayout()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        boxLayout2 = QHBoxLayout()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        layoutFormulara.addStretch()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        layoutFormulara.addLayout(boxLayout1)<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        layoutFormulara.addLayout(boxLayout2)<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        layoutFormulara.addStretch()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        self.label1 = QLabel("Hello")<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        boxLayout1.addWidget(self.label1)<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        self.setCentralWidget(self.formular)<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>def main():<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    # vytvoriť hlavné okno<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    mainWin = MainWindow()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    mainWin.show()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    # Run aplikáciu<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    try:<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        retval = app.exec_()<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        # Exit aplication<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        sys.exit(retval)  <span style='color:#548235;mso-style-textfill-fill-color:#548235;mso-style-textfill-fill-alpha:100.0%'># this will always trigger SystemExit</span><o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    except SystemExit:<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        print("sys.exit<span style='color:#548235;mso-style-textfill-fill-color:#548235;mso-style-textfill-fill-alpha:100.0%'>() it worked as expected </span>")<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    except:<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>        print("<span style='color:#548235;mso-style-textfill-fill-color:#548235;mso-style-textfill-fill-alpha:100.0%'>Something has gone terribly wrong </span>")  <span style='color:#548235;mso-style-textfill-fill-color:#548235;mso-style-textfill-fill-alpha:100.0%'># another exception was raised</span><o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>if __name__ == "__main__":<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    app = QApplication(sys.argv)<o:p></o:p></span></p><p class=MsoNormal style='vertical-align:baseline'><span style='font-family:"Calibri Light",sans-serif;border:none windowtext 1.0pt;padding:0cm;mso-ligatures:none;mso-fareast-language:SK'>    main()</span><span style='font-family:"Calibri Light",sans-serif;mso-ligatures:none;mso-fareast-language:SK'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri Light",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal>I looked for many answers on the Internet but I couldn't find anything.<br>I've read the pyinstaller manual, I'm just new to this. I am sending a TestEXE.spec file.<o:p></o:p></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'>Pripájam file spec. <o:p></o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><pre style='vertical-align:baseline'><span class=hljs-keyword><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>import</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'> os<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>block_cipher = </span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>None</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'><o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>workdir = os.getenv(</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'VIEWER_DIR'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>)<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>a = Analysis([</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'main.py'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>],<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         pathex=[workdir],<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         binaries=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>None</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         datas=[(os.path.join(workdir,</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'testdata/*'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>),</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'testdata'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>),<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>                (os.path.join(workdir,</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'qgis_plugins/*'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>),</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'qgis_plugins'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>),<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>                (os.path.join(workdir,</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'graphics/*'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>),</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'graphics'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>),],<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         hiddenimports=[</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'qgis.PyQt.QtWidgets'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'qgis.core.QgsApplication'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>]<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         hookspath=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>None</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         runtime_hooks=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>None</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         excludes=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>None</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         win_no_prefer_redirects=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>None</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         win_private_assemblies=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>None</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         cipher=block_cipher)<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>pyz = PYZ(a.pure, a.zipped_data,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>         cipher=block_cipher)<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>exe = EXE(pyz,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          a.scripts,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          [],<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          exclude_binaries=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>True</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          name=</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'TestEXE'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          debug=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>True</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          bootloader_ignore_signals=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>False</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          strip=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>False</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          upx=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>True</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          console=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>False</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'> ,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>          icon=</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'graphics/airports.ico'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>)<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>coll = COLLECT(exe,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>               a.binaries,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>               a.zipfiles,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>               a.datas,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>               strip=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>False</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>               upx=</span></code><span class=hljs-literal><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>True</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>,<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>               upx_exclude=[],<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>               name=</span></code><span class=hljs-string><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>'TestEXE'</span></span><code><span style='font-family:"inherit",serif;border:none windowtext 1.0pt;padding:0cm'>)</span></code><span style='font-family:"var(--ff-mono)",serif'><o:p></o:p></span></pre><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'>Thank you very much in advance for your help.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none;mso-fareast-language:SK'><o:p> </o:p></span></p><p class=MsoNormal><span lang=CS style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#006699;mso-ligatures:none;mso-fareast-language:SK'>Kind regards / Spozdravom <br><br>************************************<br><b>Ing. Stanislav Klanduch</b> <br><i>firm owner</i><br><br><b>KAnet</b> soft-net services<br>Kuzmányho 902 <br>01701 Považská Bystrica<br>Slovakia (SK)<br><br>tel:         +421 6504 07170<br>mobil:   +421 918 394 876<br>fax:        +421 6504 07170<br>mail:      <a href="mailto:office@kanet.sk"><span style='color:blue'>office@kanet.sk</span></a> <o:p></o:p></span></p><p class=MsoNormal><span lang=CS style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:#006699;mso-ligatures:none;mso-fareast-language:SK'>web:      <a href="http://www.kanet.sk"><span style='color:blue'>www.kanet.sk</span></a> <br>************************************<br><br></span><span lang=CS style='font-size:18.0pt;font-family:Webdings;color:#006600;mso-ligatures:none;mso-fareast-language:SK'>P</span><span lang=CS style='color:#1F497D;mso-ligatures:none;mso-fareast-language:SK'> </span><span lang=CS style='font-size:7.0pt;font-family:"Verdana",sans-serif;color:#006600;mso-ligatures:none;mso-fareast-language:SK'>Pred vytlacením tohto mailu prosím zvážte dopad na životné prostredie. Dakujeme. / Please consider the environment before printing this e-mail. Thanks. </span><span lang=CS style='font-family:"Times New Roman",serif;color:#1F497D;mso-ligatures:none;mso-fareast-language:SK'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-ligatures:none'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black;mso-ligatures:none'><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>