Yes, I understand the problem. Anyway I modified slightly two scripts of your cxfreeze plugin so that, when in Windows, the plugin makes more efforts to find the Python installation path. I would gladly submit these changes to your consideration. In which form and where should I send them?<br>
<br>Tom Sobota<br>Madrid, Spain<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 12:54 PM, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Sonntag, 24. April 2011, Tomas Sobota wrote:<br>
> I finally got to install (thanks, Tobias!) and make work the cxfreeze<br>
> plugin for Eric5. But it is not straightforward on Windows.<br>
><br>
> First, I installed everything on a 64 bit Win 7. In this environment,<br>
> cxfreeze installs a bat file called cxfreeze.bat in the Python Scripts<br>
> folder, which in a standard installation of the latest Python 3 is at<br>
> C:\Python32\Scripts.<br>
><br>
> However, in the cxfreeze.bat file Python 3 gets called like<br>
> "C:\Python32-64\Python32-64.exe", so it is never found. This problem is<br>
> attributable to the cxfreeze installation and not to the plugin, naturally.<br>
><br>
> So I changed the cxfreeze.bat so that it points to C:\Python32\Python.exe.<br>
> But the plugin still would not work, with a diagnostic that "the cxfreeze<br>
> executable was not found". Looking at the plugin sources I noticed that it<br>
> is looking for cxfreeze.bat in the path. The problem with this approach in<br>
> a Windows installation is that the Python scripts folder never gets<br>
> appended to the path during Python installation. Once I appended the<br>
> scripts folder to the path manually, the plugin works correctly.<br>
><br>
> In a 32 bit Win 7 installation, the cxfreeze.bat file correctly points to<br>
> C:\Python32\Python.exe, so it doesn't need to be edited. But the path<br>
> problem is the same as above.<br>
><br>
> I guess that on a Linux or Unix box all these problems don't arise. Later I<br>
> will install Python32/PyQt/Eric5/cxfreeze in my FreeBSD box and verify what<br>
> happens in that environment.<br>
><br>
> Tom<br>
<br>
</div></div>Due to the fact, that eric cannot know exactly where all the tools are<br>
installed, it assumes, that they are available via the executable path<br>
setting. If the scripts folder doesn't get added (or any other directory on<br>
non Win machines) you have to add it to the PATH variable. Maybe I should<br>
offer a configuration option where you can set the path to the cxfreeze<br>
executable. Feedback is welcome.<br>
<br>
Detlev<br>
<font color="#888888">--<br>
Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
</font></blockquote></div><br>