Hello,
Firstly you certainly shouldn’t need to copy those files about. It looks like the problem is nimpy can’t read the standard lib files from the base_library.zip archive and you’re extracting them manually. You can tell PyInstaller not to use the zip by adding the kwarg noarchive=True to the a = Analysis(...) section of the main.spec file. (If you’re new to spec files - it’s just a Python script containing all the build code.) If you edit the spec you must use PyInstaller main.spec instead of PyInstaller main.py or you will lose your changes. Assuming the above doesn’t fix your problem: You can’t reuse bits of a build in the way you’re suggesting but you can still automate them. Again, use the spec file. You could append code to the end of your spec (such as code to copy those files in) and it will run that code after every build. Also, I recommend Markdown Here <https://markdown-here.com/> for using markdown in Google Groups. Brénainn -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/9157bc9d-aebf-4d62-8959-506eff6918b8n%40googlegroups.com.
