I am using pyinstaller for creating one executable file for my pipenv project on OS X. I run pipenv run pyinstaller --onefile myscript.py which results in 3 things- build/, dist/ and myscript.spec. I have a config file for my project and to add that to this bundle, I run- pipenv run pyinstaller --onefile --add-data 'config.json:.' myscript.py which gets added to myscript.spec. I want to understand 2 things-
According to docs, I need to give users the executable file in my
dist/folder.They'll execute it without any dependencies on anything else?Do I need to give my config.json file to every user as well? As I understand, we are adding a path for the config file in our specs.