|
5 | 5 |
|
6 | 6 | from setuptools import setup, find_packages |
7 | 7 |
|
8 | | -with open('README.rst') as readme_file: |
| 8 | +with open("README.rst") as readme_file: |
9 | 9 | readme = readme_file.read() |
10 | 10 |
|
11 | 11 | readme = "" |
12 | 12 |
|
13 | | -with open('HISTORY.rst') as history_file: |
| 13 | +with open("HISTORY.rst") as history_file: |
14 | 14 | history = history_file.read() |
15 | 15 |
|
16 | 16 | requirements = [ |
17 | | - 'graphql-core>=2.0<3', |
| 17 | + "graphql-core>=2.0<3", |
18 | 18 | # TODO: put package requirements here |
19 | 19 | ] |
20 | 20 |
|
21 | 21 | setup_requirements = [ |
22 | | - 'pytest-runner', |
| 22 | + "pytest-runner", |
23 | 23 | # TODO(graphql-python): put setup requirements (distutils extensions, |
24 | 24 | # etc.) here |
25 | 25 | ] |
26 | 26 |
|
27 | 27 | test_requirements = [ |
28 | | - 'pytest', |
| 28 | + "pytest", |
29 | 29 | # TODO: put package test requirements here |
30 | 30 | ] |
31 | 31 |
|
32 | 32 | setup( |
33 | | - name='graphql-ws', |
34 | | - version='0.2.0', |
| 33 | + name="graphql-ws", |
| 34 | + version="0.3.0", |
35 | 35 | description="Websocket server for GraphQL subscriptions", |
36 | | - long_description=readme + '\n\n' + history, |
| 36 | + long_description=readme + "\n\n" + history, |
37 | 37 | author="Syrus Akbary", |
38 | | - author_email='me@syrusakbary.com', |
39 | | - url='https://github.com/graphql-python/graphql-ws', |
40 | | - packages=find_packages(include=['graphql_ws']), |
| 38 | + author_email="me@syrusakbary.com", |
| 39 | + url="https://github.com/graphql-python/graphql-ws", |
| 40 | + packages=find_packages(include=["graphql_ws"]), |
41 | 41 | include_package_data=True, |
42 | 42 | install_requires=requirements, |
43 | 43 | license="MIT license", |
44 | 44 | zip_safe=False, |
45 | | - keywords=['graphql', 'subscriptions', 'graphene', 'websockets'], |
| 45 | + keywords=["graphql", "subscriptions", "graphene", "websockets"], |
46 | 46 | classifiers=[ |
47 | | - 'Development Status :: 2 - Pre-Alpha', |
48 | | - 'Intended Audience :: Developers', |
49 | | - 'License :: OSI Approved :: MIT License', |
50 | | - 'Natural Language :: English', |
| 47 | + "Development Status :: 2 - Pre-Alpha", |
| 48 | + "Intended Audience :: Developers", |
| 49 | + "License :: OSI Approved :: MIT License", |
| 50 | + "Natural Language :: English", |
51 | 51 | "Programming Language :: Python :: 2", |
52 | | - 'Programming Language :: Python :: 2.6', |
53 | | - 'Programming Language :: Python :: 2.7', |
54 | | - 'Programming Language :: Python :: 3', |
55 | | - 'Programming Language :: Python :: 3.3', |
56 | | - 'Programming Language :: Python :: 3.4', |
57 | | - 'Programming Language :: Python :: 3.5', |
| 52 | + "Programming Language :: Python :: 2.6", |
| 53 | + "Programming Language :: Python :: 2.7", |
| 54 | + "Programming Language :: Python :: 3", |
| 55 | + "Programming Language :: Python :: 3.3", |
| 56 | + "Programming Language :: Python :: 3.4", |
| 57 | + "Programming Language :: Python :: 3.5", |
58 | 58 | ], |
59 | | - test_suite='tests', |
| 59 | + test_suite="tests", |
60 | 60 | tests_require=test_requirements, |
61 | 61 | setup_requires=setup_requirements, |
62 | 62 | ) |
0 commit comments