# You can use this method with py2exe: http://www.py2exe.org/index.cgi/SingleFileExecutable
# use NSIS to package all of the required files and folders into a single executable.
# When you run it, the required files are expanded to a temporary directory,
# the executable is run, and when it exits, the temporary files are deleted automatically.
# There is also an example that comes with py2exe which uses Inno Setup instead of NSIS
# to achieve the same result. It's installed to site-packagespy2exesamplesextending.