syncplay/buildPy2exe.py

34 lines
935 B
Python
Raw Normal View History

2012-10-12 16:37:12 +00:00
#!/usr/bin/env python
#coding:utf8
from setuptools import setup
import py2exe #@UnusedImport
from setuptools import find_packages
import syncplay
common_info = dict(
name = 'Syncplay',
version = syncplay.version,
author = 'Tomasz Kowalczyk, Uriziel',
author_email = 'code@fluxid.pl, urizieli@gmail.com',
description = 'Syncplay',
packages = find_packages(exclude=['venv']),
install_requires = ['Twisted>=11.1'],
)
info = dict(
common_info,
console = [{"script":"syncplayClient.py","icon_resources":[(1,"icon.ico")]}, {"script":"syncplayClientForceConfiguration.py","icon_resources":[(1,"icon.ico")]}, 'syncplayServer.py'],
options = {'py2exe': {
'includes': 'cairo, pango, pangocairo, atk, gobject',
'optimize': 2,
'compressed': 1
}
},
)
setup(**info)