cx_Freeze icon indicating copy to clipboard operation
cx_Freeze copied to clipboard

Can anyone help with how to add a couple of Python scripts to my main script?

Open pieman64 opened this issue 5 years ago • 1 comments

I have my main script that works fine with cx_freeze on Windows.

Normally in Python I call the main script with a "forever" Python script. Basically all this script does is restart the main script if it stops running.

Also I have a small file with 3 variables that I import into the main script.

I'm guessing that I have to make some of the scripts into modules and add them in the setup.py script.

As a couple of asides:

  1. When I try python setup.py bdist_msi I see it creates the msi folder and files but right at the end of the process it removes them all. Any ideas why?

  2. I like the console in Python. Is it easy enough to have the same when running the exe in Windows>

pieman64 avatar Jan 21 '19 19:01 pieman64

Adding the small file of 3 variables turned out to be straightforward but I am still struggling with the forever script.

Also interested in any thoughts on msi and console.

pieman64 avatar Jan 24 '19 08:01 pieman64