from setuptools import setup, find_packages

cmdclass = {}

try:
    from sphinx.setup_command import BuildDoc
    cmdclass['build_sphinx'] = BuildDoc
except ImportError:
    pass

def readme():
    with open('README.rst') as f:
        return f.read()

version = "0.10.0"

setup(
    name="pyPhoenix",
    version=version,
    description="python interface to Phoenix",
    long_description=readme(),
    author="Dimitri Capitaine",
    author_email="grytes29@gmail.com",
    url="https://github.com/Pirionfr/pyPhoenix",
    license="Apache 2",
    packages=find_packages(),
    include_package_data=True,
    cmdclass=cmdclass,
    zip_safe=False,
    install_requires=['protobuf','sqlalchemy', 'future'],
    command_options={
        'build_sphinx': {
            'version': ('setup.py', version),
            'release': ('setup.py', version),
        },
    },

    entry_points={
        "sqlalchemy.dialects": [
            "phoenix = pyphoenix.sqlalchemy_phoenix:PhoenixDialect"
        ]
    },
)

@@ -261,17 +261,17 @@
 n = %220.1
-0
+1
 .0%22%0A%0Aset
@@ -357,24 +357,50 @@
 e to Phoenix
+ and SQLAlchemy interfaces
 %22,%0A    long_

change version to 0.11.0