from cx_Freeze import setup, Executable import sys # Dependencies are automatically detected, but it might need # fine tuning. build_options = {'packages': ['requests'],'excludes':[]} executables = [ {'script':'terminal.py', 'target_name':'wlchat-terminal'}, {'script':'irc.py', 'target_name':'wlchat-irc'} ] include_files=['dank.png', 'frozen.png', 'snow.png'] if(sys.platform!='win32'): # Can't build pygobject on windows? (seems to break in the pycairo dependency) executables.append({'script':'gtk.py', 'target_name':'wlchat-gtk'}) build_options['packages'].append('gi') setup(name='WLChat', version = '0.1', description = 'Chat client', options = {'build_exe': build_options}, executables = executables, include_files=include_files)