(Just to preface this, I am a Python noob, so parts may be stupid/less obvious to me)
I am trying to compile a Python script to exe, with the following setup.py file:
from cx_Freeze import setup, Executable
includes = ["re", "PyVMF"]
setup(
name="Wall Tile Randomizer",
version="1.2",
description="Wall Tile Randomizer",
executables=[Executable("WallRandomizer.py")],
)
The first time I ran this, I did not have the includes = ["re", "PyVMF"]
line. I ran it, and got the "ImportError: no module named 're'" error when I ran the compiled exe. As suggested elsewhere, I added that line (PyVMF is another module used) I am still, however, getting the same error. What am I doing wrong?