[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pyqtdeploy unable to freeze files
From:       Kyle Altendorf <sda () fstab ! net>
Date:       2016-11-23 19:19:39
Message-ID: 08da7e57e9cbac031b8558c364201075 () eumx ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


http://pyqt.sourceforge.net/Docs/pyqtdeploy/ 

It sounds like you missed several steps because you are responsible for
setting $SYSROOT (or %SYSROOT% if you prefer for Windows) and for
creating the directory and contents it points to. 

It took me awhile to figure out.  Hopefully someday I'll get my detailed
notes put up publicly. 

Cheers, 

-kyle 

On 2016-11-23 13:07, Cody Scott wrote:

> No there is no SYSROOT environment variable. This is on Windows 10. I do have \
> SystemRoot=C:\WINDOWS  
> But it looks like SYSROOT should be the Python install directory. 
> 
> On Wed, Nov 23, 2016 at 12:57 PM, Phil Thompson <phil@riverbankcomputing.com> \
> wrote: 
> > On 23 Nov 2016, at 5:50 pm, Cody Scott <cody@perspexis.com> wrote:
> > > 
> > > With --verbose I get
> > > # ...
> > > Freezing C:\Users\cody\Desktop\qml-testing\main.py...
> > > Freezing C:\Users\cody\Desktop\qml-testing\$SYSROOT\lib\python3.5\_bootlocale.py...
> > >                 
> > > pyqtdeploycli: Unable to freeze files: \
> > > C:\Users\cody\Desktop\qml-testing\$SYSROOT\lib\python3.5\_bootlocale.py: [Errno \
> > > 2] No such file or directory: \
> > > 'C:\\Users\\cody\\Desktop\\qml-testing\\$SYSROOT\\lib\\python3.5\\_bootlocale.py'
> > > 
> > 
> > Is the SYSROOT environment variable set?
> > 
> > Phil
> 
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" \
/></head><body style='font-size: 10pt'> <p><a \
href="http://pyqt.sourceforge.net/Docs/pyqtdeploy/">http://pyqt.sourceforge.net/Docs/pyqtdeploy/</a></p>
 <p>It sounds like you missed several steps because you are responsible for setting \
$SYSROOT (or %SYSROOT% if you prefer for Windows) and for creating the directory and \
contents it points to.</p> <p>It took me awhile to figure out. &nbsp;Hopefully \
someday I'll get my detailed notes put up publicly.</p> <p>Cheers,</p>
<p>-kyle</p>
<p><br /></p>
<p>On 2016-11-23 13:07, Cody Scott wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored --> <div \
dir="ltr">No there is no SYSROOT environment variable. This is on Windows 10. I do \
have SystemRoot=C:\WINDOWS <div>&nbsp;</div>
<div>But it looks like SYSROOT should be the Python install directory.</div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Wed, Nov 23, 2016 at 12:57 PM, Phil Thompson <span>&lt;<a \
href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>&gt;</span> \
wrote:<br /> <blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: \
1px #ccc solid; padding-left: 1ex;"><span>On 23 Nov 2016, at 5:50 pm, Cody Scott \
&lt;<a href="mailto:cody@perspexis.com">cody@perspexis.com</a>&gt; wrote:<br /> \
&gt;<br /> &gt; With --verbose I get<br /> &gt; # ...<br /> &gt; Freezing \
C:\Users\cody\Desktop\qml-<wbr />testing\main.py...<br /> &gt; Freezing \
C:\Users\cody\Desktop\qml-<wbr />testing\$SYSROOT\lib\python3.<wbr \
/>5\_bootlocale.py...<br /> &gt; pyqtdeploycli: Unable to freeze files: \
C:\Users\cody\Desktop\qml-<wbr />testing\$SYSROOT\lib\python3.<wbr \
/>5\_bootlocale.py: [Errno 2] No such file or directory: \
'C:\\Users\\cody\\Desktop\\<wbr />qml-testing\\$SYSROOT\\lib\\<wbr \
/>python3.5\\_bootlocale.py'<br /><br /></span>Is the SYSROOT environment variable \
set?<br /><span class="HOEnZb"><span style="color: #888888;"><br /> \
Phil</span></span></blockquote> </div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: \
monospace">_______________________________________________<br /> PyQt mailing list \
&nbsp;&nbsp;&nbsp;<a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br /><a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></div>
 </blockquote>
</body></html>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic