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
|
|
|
|
|
2012-12-24 14:07:03 +00:00
|
|
|
sys.argv.extend(['py2exe', '-p win32com ', '-i twisted.web.resource'])
|
2012-10-12 16:37:12 +00:00
|
|
|
common_info = dict(
|
2012-10-15 18:33:24 +00:00
|
|
|
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'],
|
2012-10-12 16:37:12 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
info = dict(
|
|
|
|
common_info,
|
2012-10-15 18:33:24 +00:00
|
|
|
console=[{"script":"syncplayClient.py", "icon_resources":[(1, "resources\\icon.ico")]}, 'syncplayServer.py'],
|
|
|
|
options={'py2exe': {
|
2012-10-12 16:37:12 +00:00
|
|
|
'includes': 'cairo, pango, pangocairo, atk, gobject',
|
|
|
|
'optimize': 2,
|
|
|
|
'compressed': 1
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
setup(**info)
|
|
|
|
|