from cx_Freeze import setup, Executable

build_exe_options = {
    "bin_includes": [
        "libssl.so",
        "libz.so"
    ],
    "bin_path_includes": [
         "/usr/lib/x86_64-linux-gnu"
    ],
    "include_files": [
        ("client/dist", "client"),
        "LICENSE",
        "templates",
        "readme.md"
    ],
    "includes": [
        "asyncio.base_events"
    ],
    "packages": [
        "asyncio",
        "idna",
        "gzip",
        "motor",
        "numpy",
        "uvloop",
        "ssl"
    ]
}

options = {
    "build_exe": build_exe_options
}

executables = [
    Executable('run.py', base="Console")
]

classifiers=[
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7"
]

setup(name="virtool", executables=executables, options=options, classifiers=classifiers)

from cx_Freeze import setup, Executable

build_exe_options = {
    "bin_includes": [
        "libssl.so",
        "libz.so"
    ],
    "bin_path_includes": [
         "/usr/lib/x86_64-linux-gnu"
    ],
    "include_files": [
        ("client/dist", "client"),
        "LICENSE",
        "templates",
        "readme.md"
    ],
    "includes": [
        "asyncio.base_events"
    ],
    "packages": [
        "asyncio",
        "idna",
        "gzip",
        "motor",
        "numpy",
        "uvloop",
        "sentry_sdk",
        "ssl"
    ]
}

options = {
    "build_exe": build_exe_options
}

executables = [
    Executable('run.py', base="Console")
]

classifiers=[
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7"
]

setup(name="virtool", executables=executables, options=options, classifiers=classifiers)

Add sentry_sdk to cxfreeze packages
Add sentry_sdk to cxfreeze packages


  from cx_Freeze import setup, Executable
  
  build_exe_options = {
      "bin_includes": [
          "libssl.so",
          "libz.so"
      ],
      "bin_path_includes": [
           "/usr/lib/x86_64-linux-gnu"
      ],
      "include_files": [
          ("client/dist", "client"),
          "LICENSE",
          "templates",
          "readme.md"
      ],
      "includes": [
          "asyncio.base_events"
      ],
      "packages": [
          "asyncio",
          "idna",
          "gzip",
          "motor",
          "numpy",
          "uvloop",
+         "sentry_sdk",
          "ssl"
      ]
  }
  
  options = {
      "build_exe": build_exe_options
  }
  
  executables = [
      Executable('run.py', base="Console")
  ]
  
  classifiers=[
      "Programming Language :: Python :: 3.6",
      "Programming Language :: Python :: 3.7"
  ]
  
  setup(name="virtool", executables=executables, options=options, classifiers=classifiers)
  
Add sentry_sdk to cxfreeze packages
## Code Before:
from cx_Freeze import setup, Executable

build_exe_options = {
    "bin_includes": [
        "libssl.so",
        "libz.so"
    ],
    "bin_path_includes": [
         "/usr/lib/x86_64-linux-gnu"
    ],
    "include_files": [
        ("client/dist", "client"),
        "LICENSE",
        "templates",
        "readme.md"
    ],
    "includes": [
        "asyncio.base_events"
    ],
    "packages": [
        "asyncio",
        "idna",
        "gzip",
        "motor",
        "numpy",
        "uvloop",
        "ssl"
    ]
}

options = {
    "build_exe": build_exe_options
}

executables = [
    Executable('run.py', base="Console")
]

classifiers=[
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7"
]

setup(name="virtool", executables=executables, options=options, classifiers=classifiers)

## Instruction:
Add sentry_sdk to cxfreeze packages
## Code After:
from cx_Freeze import setup, Executable

build_exe_options = {
    "bin_includes": [
        "libssl.so",
        "libz.so"
    ],
    "bin_path_includes": [
         "/usr/lib/x86_64-linux-gnu"
    ],
    "include_files": [
        ("client/dist", "client"),
        "LICENSE",
        "templates",
        "readme.md"
    ],
    "includes": [
        "asyncio.base_events"
    ],
    "packages": [
        "asyncio",
        "idna",
        "gzip",
        "motor",
        "numpy",
        "uvloop",
        "sentry_sdk",
        "ssl"
    ]
}

options = {
    "build_exe": build_exe_options
}

executables = [
    Executable('run.py', base="Console")
]

classifiers=[
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7"
]

setup(name="virtool", executables=executables, options=options, classifiers=classifiers)
