cx_Freeze
cx_Freeze copied to clipboard
Can anyone help with how to add a couple of Python scripts to my main script?
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:
-
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?
-
I like the console in Python. Is it easy enough to have the same when running the exe in Windows>
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.