I tried PyInstaller, but I was unable to include configuration and .txt files in the package.
cx_freeze throws an error during installation and py2exe is not supported for Python 3.6 and later.
Which Python-to-EXE library can I use for Python 3.7?
I tried PyInstaller, but I was unable to include configuration and .txt files in the package.
cx_freeze throws an error during installation and py2exe is not supported for Python 3.6 and later.
Which Python-to-EXE library can I use for Python 3.7?
auto-py-to-exe supports Python 3.7.
The added data/txt files need to be read in the code like this:
open(sys._MEIPASS+ r'filename.txt').read()
It was taken from Stack Overflow question PyInstaller cannot add .txt files.