FWIW, I think this is a great idea -- that dir can get VERY cluttered.

But it may be a challenge, particularly on Windows, as the model for dlls
is to look for them "alongside" the exe they link to.

But maybe adding to PATH, or putting in a link or shortcut for the main.exe
file could work?

-CHB


On Wed, Jul 8, 2020 at 8:04 AM 进陆 <lepto.pyt...@gmail.com> wrote:

>
> Currently, the pyinstaller copies many DLLs and PYDs to the `dist\main\`
> directory where `main.exe` lives. So it takes some time for a user to find
> the real application file to launch.
>
> I know pyinstaller can produce a single executable file. But it will be at
> least 40M if wxPython is used.
>
> My question is, how to tell pyinstaller to copy DLLs, PYDs and other
> python modules into a directory, for example `supporting`, so there is only
> 2 files, i.e. `main.exe` and `main.exe.manifest` under the `dist\main\`
> directory?
>
> Thanks
>
> --
> 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 pyinstaller+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pyinstaller/81b5a35e-b240-4e8c-866a-c60fe5e13766o%40googlegroups.com
> <https://groups.google.com/d/msgid/pyinstaller/81b5a35e-b240-4e8c-866a-c60fe5e13766o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov

-- 
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 pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/CALGmxEJXXcRrpstdo_k6eFV5zu3yYH1i_fctk2zEieUawFeXGA%40mail.gmail.com.

Reply via email to