I use below command to create a single exe file
pyarmor pack -e " --onefile" final.py
and it works perfectly until windows defender starts to scan for viruses and define this exe file as virus!
it solved by adding --clean
pyarmor pack --clean -e "--onefile " final.py