(Feb-27-2019, 05:45 PM)gahhon Wrote: Then in my script, I must add the pyglet.lib.load_library('avbin.dll') pyglet.have_avbin=TrueDo you not understand that this a example of including external dependencies and has nothing to with your build.
But in your post, you were mentioned that pyglet & avbin is for the playing. But what if for Selenium?
You should of course not add pyglet & avbin in your build,why do i even need to explain this
Selenium has at least one external dependencies which is the web-driver,
so a simple solution could eg to have chromedriver.exe together with the build .exe.
I have build Selenium with pyinstaller before(working),but it's long time ago so don't remember all the build steps.