I’ve got a wxPython application that uses wx.Bitmap and a few bitmap buttons. Is there a way to include these images so the exe runs properly?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to create a data_files element in your setup.py file: Creating a Python .exe file: py2exe invalid image error
Alternatively, you can use py2exe or something similar (PyInstaller, bbfreeze, cx_freeze) to create the Python exe and then use something like Inno Setup to bundle up everything into a nice installer.