Preparing for windows distro

This commit is contained in:
Tomasz Fluxid Kowalczyk 2012-01-29 21:47:42 +01:00
parent c634329d9b
commit 2484ffa6b5
3 changed files with 43 additions and 0 deletions

19
setup.py2 Normal file
View File

@ -0,0 +1,19 @@
from setuptools import setup, find_packages
import sys
if sys.version_info < (3,):
print('Sorry, this package is developed for Python 3')
exit(1)
setup(
name = 'pyhaa',
version = '0.0',
packages = find_packages(exclude=['tests']),
author = 'Tomasz Kowalczyk',
author_email = 'code@fluxid.pl',
description = 'Standalone templating system inspired by HAML',
keywords = 'haml templating',
tests_require = ['nose'],
test_suite = 'nose.collector',
)

13
setup_common.py Normal file
View File

@ -0,0 +1,13 @@
#coding:utf8
from setuptools import find_packages
common_info = dict(
name = 'SyncPlay',
version = '0.1',
author = 'Tomasz Kowalczyk, Uriziel',
author_email = 'code@fluxid.pl',
description = 'Solution to synchronize playback of multiple MPlayer and MPC-HC instances over the network.',
packages = find_packages(exclude=['venv']),
install_requires = ['Twisted>=11.1'],
)

11
setup_py2exe.py Normal file
View File

@ -0,0 +1,11 @@
#coding:utf8
from setuptools import setup
from setup_common import common
info = dict(
common,
scripts = ['sync_mplayer.py', 'sync_mpc.py', 'run_sync_server.py'],
)
setup(**info)