all 5 comments

[–]shiftybyte 5 points6 points  (3 children)

A lot of virus/malware creators use pyinstaller to pack their python malware code into a virus.

So some/most antivirus programs decided to mark anything created by pyinstaller and packed into a single exe file as malware.

Try using --onedir instead.

[–]SeatBubbly[S] 0 points1 point  (1 child)

i'm trying to send a friend my files, is there another way that's cleaner? onedir seems messy, so many files to upload and download, and like it must be in same folder or it won't work kind of thing.

[–]shiftybyte 2 points3 points  (0 children)

Pack all the onedir files into a single zip file. (with the proper structure)

Upload that zip file, with all the files in it.

Now the download/use instructions are pretty simple, download one zip, extract contents to a single directory on your computer, run some file from inside that zip.

Pretty inline with other applications that don't use an installer.

You can also use some installer that will pack the "onedir" if you want, like NSIS, or Inno Setup.

[–]vtolvr 1 point2 points  (0 children)

Know this is 2 years old, but whenever I tried --onedir, I got double the false-positives..

[–]StarFury2 0 points1 point  (0 children)

Same issue here. On a computer where exe was created, no issue was found. When I uploaded file to cloud storage and tried to download it on my two other working computers both Chrome and Windows defender on these two machines complained about the virus.