I'm using py2exe to turn my python script (python 2.7.6) into an exe.
Here's my script:
name = raw_input("What is your name? ")
print "Hello " + name + "!"
It's a simple script, for testing purposes.
I'm using the following setup file:
from distutils.core import setup
import py2exe
setup(console=['hello_name.py'])
This is all straight off the py2exe website.
The problem I found here is that the exe produced is dependent upon the other files in the same folder. I'd like to produce a single .exe file which i can share with other people (like non-computer savy family members who don't have python installed).
How can I use py2exe to produce one exe file? I've seen other questions about this, but they are all too confusing/non-descript to help. I've used others which have resulted in errors.
If someone can show me a full setup.py file which will work instead of a line that would be very helpful.