#!/usr/bin/env python
#coding=utf-8

import sys
kwargs = {}
major, minor = sys.version_info[:2]
if major >= 3:
    kwargs['use_2to3'] = True

from setuptools import setup, find_packages

import werobot

setup(
    name='WeRoBot',
    version=werobot.__version__,
    author='whtsky',
    author_email='whtsky@me.com',
    url='https://github.com/whtsky/WeRoBot',
    packages=find_packages(),
    description='WeRoBot: a robot framework for wechat',
    long_description=open('docs/index.rst').read(),
    include_package_data=True,
    license='MIT License',
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: MIT License',
        'Operating System :: MacOS',
        'Operating System :: POSIX',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.1',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        ],
    tests_require=['nose'],
    test_suite='nose.collector',
    **kwargs
)

@@ -468,37 +468,339 @@
 ion=
-open('docs/index.rst').read()
+%22%22%22%0A    WeRoBot %E6%98%AF%E4%B8%80%E4%B8%AA%E7%AE%80%E5%8D%95%E5%A5%BD%E7%94%A8%E7%9A%84 Python %E5%BE%AE%E4%BF%A1%E6%9C%BA%E5%99%A8%E4%BA%BA%E6%A1%86%E6%9E%B6%E3%80%82%0A%0A    Hello World ::%0A%0A        import werobot%0A%0A        robot = werobot.WeRoBot(token='tokenhere')%0A%0A        @robot.handler%0A        def echo(message):%0A            return 'Hello World!'%0A%0A        robot.run()%0A%0A    %E6%96%87%E6%A1%A3%EF%BC%9A https://werobot.readthedocs.org/en/v%25s/index.html%0A    %22%22%22 %25 werobot.__version__
 ,%0A  

update setup.py