#!/usr/bin/env python

try:
    from setuptools import setup, find_packages
except ImportError:
    from distribute_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

try:
    license = open('LICENSE').read()
except:
    license = None

try:
    readme = open('README.rst').read()
except:
    readme = None

setup(
    name='TornadIO3',
    version='0.0.1',
    author='TitanFile Inc.',
    author_email='rgorrie@titanfile.com',
    packages=['tornadio3'],
    scripts=[],
    url='http://github.com/gorriexiv/tornadio3/',
    license=license,
    description='Socket.io 0.7+ server implementation on top of Tornado framework',
    long_description=readme,
    requires=['simplejson', 'tornado'],
    install_requires=[
        'simplejson >= 2.1.0',
        'tornado <= 5.0.0'
    ]
)
