3

I have packed my python application using the cx_freeze tool, this is my setup.py script:

import sys, os,imp
from cx_Freeze import setup, Executable


build_exe_options = {"packages": ["os"], "excludes": ["tkinter"],"include_files":["ui\images","imageformats","qt.conf","icon.ico"] }


base = None
if sys.platform == "win32":
    base = "Win32GUI"

setup(  name = "MonPy-Qt",
        version = "1.5",
        description = "Conversor de Divisas",
        options = {"build_exe": build_exe_options},
        executables = [Executable("main.py", base=base,icon="icon.ico")],
        icon="icon.ico")

But when I try to run the generated .exe, avast detects as possible virus:

Trollvast

Someone have any idea to avoid this? thanks :)

Edit:

Translated message:

You are opening an application that may be potentially insecure. We recomend open this application on the virtual environment Sandbox in order to avoid any risk to the computer.

Rafael Carrillo
  • 2,630
  • 8
  • 40
  • 62

1 Answers1

2

No Solution:

A recent update on Avast Antivirus specifies the reason to alert saying "Reputation: low".

Thanks to all :)

Rafael Carrillo
  • 2,630
  • 8
  • 40
  • 62