<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I believe both of these problems could be fixed by parsing the command line before calling _find_exe.<BR>The other problem I forgot to mention is that configure.py doesn't find cl.exe and nmake.exe. For some reason the spawned process doesn't inherit the "path" variable from the x64 command prompt window. That could be fixed by adding a new command line option for the compiler tools, e.g. --cpath.<br> <BR><div>> Subject: Re: [PyQt] PyQt5 installation on Windows<br>> From: phil@riverbankcomputing.com<br>> Date: Sun, 24 Jan 2016 16:24:15 +0000<br>> CC: pyqt@riverbankcomputing.com<br>> To: scottz1@hotmail.com<br>> <br>> On 24 Jan 2016, at 4:07 pm, scott zimmerman <scottz1@hotmail.com> wrote:<br>> > <br>> > Are there plans to fix configure.py so it works on Windows?<br>> > <br>> > 1. anaconda appends it's own bin directory to the front of the path returned by os.environ.get in _find_exe. That causes the script to see the old version of qmake.<br>> > 2. TargetConfiguration.__init__ is called in main before parsing the command line. Since _find_exe does find an old qmake.exe, it ignores the --qmake option!<br>> > <br>> > Running the script from Visual Studio x64 command prompt doesn't work because of #1. Running the script with --qmake doesn't work because of #2.<br>> <br>> --qmake isn't even an option when running on Windows. It will use the first qmake on PATH.<br>> <br>> Phil<br></div> </div></body>
</html>