import sys
from cx_Freeze import setup, Executable


# Dependencies are automatically detected, but it might need fine tuning.

packages = ['os']
includes = ['numpy.core._methods', 'numpy.lib.format', 'scipy._distributor_init', 
            'scipy.sparse.csgraph._validation', 'scipy.ndimage._ni_support']
excludes = ['tkinter']

build_exe_options = {"packages":packages, "includes": includes, "excludes": excludes}

# GUI applications require a different base on Windows (the default is for
# a console application).

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

setup(
    name = "RaSpec",
    version = "0.1",
    options = {'build_exe': build_exe_options},
    executables = [Executable("RaSpec.py", base=base, icon="Raspec.ico")]
)