You could have a package installer save the .dll file to a shared
location. You'd just need to ensure your code is importing from this
shared path. The obvious disadvantage is that the .exe files would not
be self contained and would require the end user to install the software
first.
Igor Riđanović
213.293.8230 Los Angeles
hdhead.com <https://www.hdhead.com/> metafide.com
<https://www.metafide.com/>
On 12/27/19 7:10 AM, Vincent Le Goff wrote:
Hello everyone,
I would guess this question was asked before (and a lot), but I
couldn't find a proper explanation.
Here I have a Python project that would like to create, not one or two
executables (.exe files in my case, being on Windows), but at least
four. Since they would use the same libraries (like a PythonXX.dll
file), I would appreciate some kind of optimization to avoid having to
place each executable in a different directory.
So my questions are:
1. Can PyInstaller do that, seeing as it seems to only allow one
executable?
2. Can I use the 'onefile' feature? Well, since I'll have four
executables, I would want 4 files, not one, the DLLs and other files
would be contained in the executables themselves.
Floor's yours!
Thanks,
Vincent
--
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/86db3447-a571-2204-d90c-b6a4176317a3%40gmail.com.