|
1 | 1 | from setuptools import setup, find_packages
|
2 | 2 |
|
3 |
| -required_packages = [ |
4 |
| - 'graphql-core>=2.1rc1', |
5 |
| - 'flask>=0.7.0', |
6 |
| - 'graphql-server-core>=1.1rc0' |
7 |
| -] |
| 3 | +required_packages = ["graphql-core>=2.1", "flask>=0.7.0", "graphql-server-core>=1.1"] |
8 | 4 |
|
9 | 5 | setup(
|
10 |
| - name='Flask-GraphQL', |
11 |
| - version='2.0rc0', |
12 |
| - description='Adds GraphQL support to your Flask application', |
13 |
| - long_description=open('README.rst').read(), |
14 |
| - url='https://github.com/graphql-python/flask-graphql', |
15 |
| - download_url='https://github.com/graphql-python/flask-graphql/releases', |
16 |
| - author='Syrus Akbary', |
17 |
| - |
18 |
| - license='MIT', |
| 6 | + name="Flask-GraphQL", |
| 7 | + version="2.0", |
| 8 | + description="Adds GraphQL support to your Flask application", |
| 9 | + long_description=open("README.rst").read(), |
| 10 | + url="https://github.com/graphql-python/flask-graphql", |
| 11 | + download_url="https://github.com/graphql-python/flask-graphql/releases", |
| 12 | + author="Syrus Akbary", |
| 13 | + |
| 14 | + license="MIT", |
19 | 15 | classifiers=[
|
20 |
| - 'Development Status :: 5 - Production/Stable', |
21 |
| - 'Intended Audience :: Developers', |
22 |
| - 'Topic :: Software Development :: Libraries', |
23 |
| - 'Programming Language :: Python :: 2', |
24 |
| - 'Programming Language :: Python :: 2.7', |
25 |
| - 'Programming Language :: Python :: 3', |
26 |
| - 'Programming Language :: Python :: 3.3', |
27 |
| - 'Programming Language :: Python :: 3.4', |
28 |
| - 'Programming Language :: Python :: 3.5', |
29 |
| - 'Programming Language :: Python :: Implementation :: PyPy', |
30 |
| - 'License :: OSI Approved :: MIT License', |
| 16 | + "Development Status :: 5 - Production/Stable", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "Topic :: Software Development :: Libraries", |
| 19 | + "Programming Language :: Python :: 2", |
| 20 | + "Programming Language :: Python :: 2.7", |
| 21 | + "Programming Language :: Python :: 3", |
| 22 | + "Programming Language :: Python :: 3.3", |
| 23 | + "Programming Language :: Python :: 3.4", |
| 24 | + "Programming Language :: Python :: 3.5", |
| 25 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 26 | + "License :: OSI Approved :: MIT License", |
31 | 27 | ],
|
32 |
| - keywords='api graphql protocol rest flask', |
33 |
| - packages=find_packages(exclude=['tests']), |
| 28 | + keywords="api graphql protocol rest flask", |
| 29 | + packages=find_packages(exclude=["tests"]), |
34 | 30 | install_requires=required_packages,
|
35 |
| - tests_require=['pytest>=2.7.3'], |
| 31 | + tests_require=["pytest>=2.7.3"], |
36 | 32 | include_package_data=True,
|
37 | 33 | zip_safe=False,
|
38 |
| - platforms='any', |
| 34 | + platforms="any", |
39 | 35 | )
|
0 commit comments