# coding: utf-8

from setuptools import setup, Extension

from Cython.Build import cythonize

extensions = cythonize([
    Extension('graphql_parser.{}'.format(cls_name),
              ['graphql_parser/{}.pyx'.format(cls_name)],
              libraries=['graphqlparser'],
              include_dirs=['.'])
    for cls_name in ['GraphQLParser', 'GraphQLAstVisitor',
                     'GraphQLAst', 'GraphQLAstNode']
])

setup(
    name='graphqlparser',
    version='0.0.3',
    author='Marco Paolini',
    author_email='markopaolini@gmail.com',
    description='Python bindings for libgraphqlparser (Cython-based)',
    long_description='\n\n'.join([open('README.rst', 'r').read(),
                                  '-----',
                                  open('NEWS.rst', 'r').read()]),
    url='https://github.com/elastic-coders/py-graphqlparser',
    packages=['graphql_parser'],
    install_requires=['cython'],
    package_data={'graphql_parser': ['*.pxd', '*.pyx']},
    include_package_data=True,
    ext_modules=extensions,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: Implementation :: CPython',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)

@@ -1030,16 +1030,85 @@
 nsions,%0A
+    license='BSD',%0A    keywords=%5B'graphql', 'parser', 'libgraphql'%5D,%0A
     clas
@@ -1375,16 +1375,210 @@
 Linux',%0A
+        'Programming Language :: Python :: 2.7',%0A        'Programming Language :: Python :: 3',%0A        'Programming Language :: Python :: 3.4',%0A        'Programming Language :: Python :: 3.5',%0A
         

Add a few embellishments for Pypi