Python portable pyinstaller
<p>I'm building an application where I'd like my users to be able to create executables with only a couple of clicks for some settings. It's a GUI application made with Tkinter where there is a page with some options. These options are then supposed to be written to a premade Python script. That will be no problem to make. The tricky part is compiling the script into an executable (.exe). I've always been using PyInstaller for making executables, but that's only on my own local computer. What if I want to pack my application and have PyInstaller bundled? I know PyInstaller requires pywin32, which means that has to be bundled too.</p>

<p>I'm completely lost on how to bundle PyInstaller with my application.</p>

<p>I've been doing a lot of googling on the matter, but can't seem to find any help at all. The closest I got was <a href="https://stackoverflow.com/questions/12196184/how-to-install-pyinstaller-with-portable-python-and-movable-python">this</a> post, which didn't help very much.</p>