Add a README.md file outside of _internal #8869
-
Hey there, i've just started using pyinstaller and I wanted to automatically add a readme and a version file into the same folder as the EXE file, so users can read how to use the program without having to go back to the repo my program is being stored in. Ive added the files using the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
If you want to place a file next to the executable, you'll have to copy it yourself. |
Beta Was this translation helpful? Give feedback.
-
If it's going outside the |
Beta Was this translation helpful? Give feedback.
If it's going outside the
_internal
directory then you can justshutil.copy()
it at the end of your.spec
file.