Thanks Anthony, That was indeed the problem. I adapted the setup.py file from a project that needed to include files from pytz, raven, and certifi that cx_Freeze would not pick up automatically.
I've removed include_files completely. The problem now is the .exe does not work. I launch it and I see it running in the Task Manager but there is no window. With include_files = "" the Python, JavaScript, and QML files were in the current directory. Okay using include_files to specify the QML and JavaScript files was the solution. Everything is working great! Thanks for your help! On Wed, Nov 16, 2016 at 5:32 PM, Anthony Tuininga < anthony.tuini...@gmail.com> wrote: > I can take a closer look later if needed....but there is one strange thing > you have in your setup.py -- a directive for include_files to be the empty > string. This may in fact be the source of the recursion. Can you remove it > and let me know if that corrects the issue? > > Anthony > > On Wed, Nov 16, 2016 at 2:59 PM, Cody Scott <c...@perspexis.com> wrote: > >> I am now able to build and run my example application with cxFreeze 5.0 >> >> https://github.com/Siecje/qml-testing/tree/cxfreeze >> >> The only problem is that the build\exe.win-amd64-3.5\ directory contains >> everything in the root directory including .git/ setup.py, etc >> >> And it include build\exe.win-amd64-3.5\ which has everything again and >> another build\ dir. >> >> I'm just running >> >> python setup.py build_exe >> >> >> ------------------------------------------------------------ >> ------------------ >> >> _______________________________________________ >> cx-freeze-users mailing list >> cx-freeze-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users >> >> > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > cx-freeze-users mailing list > cx-freeze-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > >
------------------------------------------------------------------------------
_______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users