<filename>setup.py
import sys
from cx_Freeze import setup, Executable
from spe2fits import VERSION, AUTHOR

# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages = [], excludes = [],
        include_files = "WINHEAD.TXT",
        include_msvcr = True,
        )

base = 'Console'

executables = [
    Executable('spe2fits.py', base=base,
        ),
    Executable('spe2fitsGUI.py', base="Win32GUI" if sys.platform == 'win32' else base,
        icon = 'favicon.ico',
        ),
]

setup(name='spe2fits',
      version = VERSION,
      author = AUTHOR,
      maintainer = AUTHOR,
      license = 'Apache-2.0',
      description = 'convert .SPE file to FITS',
      options = dict(build_exe = buildOptions),
      executables = executables)

<filename>setup.py
import sys
from cx_Freeze import setup, Executable
from spe2fits import VERSION, AUTHOR

# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages = [], excludes = [],
        include_files = "WINHEAD.TXT",
        include_msvcr = True,
        )

base = 'Console'

executables = [
    Executable('spe2fits.py', base=base,
        ),
    Executable('spe2fitsGUI.py', base="Win32GUI" if sys.platform == 'win32' else base,
        icon = 'favicon.ico',
        ),
]

setup(name='spe2fits',
      version = VERSION,
      author = AUTHOR,
      maintainer = AUTHOR,
      license = 'Apache-2.0',
      description = 'convert .SPE file to FITS',
      options = dict(build_exe = buildOptions),
      executables = executables)

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