That may depend on the particular tool you used to compile your executable. If you happened to use Pyinstaller, you can use the --onefile prefix when compiling on the command line.
unfortunatly --onefile does not work according to the customtkinter documentation.
https://github.com/TomSchimansky/CustomTkinter/wiki/Packaging#windows-pyinstalle...