|
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 | 38 | author_email='me@syrusakbary.com',
|
39 | 39 | url='https://github.com/graphql-python/graphql-ws',
|
40 | 40 | packages=find_packages(include=['graphql_ws', 'graphql_ws.*']),
|
| 41 | + author_email="me@syrusakbary.com", |
41 | 42 | include_package_data=True,
|
42 | 43 | install_requires=requirements,
|
43 | 44 | license="MIT license",
|
44 | 45 | zip_safe=False,
|
45 |
| - keywords=['graphql', 'subscriptions', 'graphene', 'websockets'], |
| 46 | + keywords=["graphql", "subscriptions", "graphene", "websockets"], |
46 | 47 | classifiers=[
|
47 |
| - 'Development Status :: 2 - Pre-Alpha', |
48 |
| - 'Intended Audience :: Developers', |
49 |
| - 'License :: OSI Approved :: MIT License', |
50 |
| - 'Natural Language :: English', |
| 48 | + "Development Status :: 2 - Pre-Alpha", |
| 49 | + "Intended Audience :: Developers", |
| 50 | + "License :: OSI Approved :: MIT License", |
| 51 | + "Natural Language :: English", |
51 | 52 | "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', |
| 53 | + "Programming Language :: Python :: 2.6", |
| 54 | + "Programming Language :: Python :: 2.7", |
| 55 | + "Programming Language :: Python :: 3", |
| 56 | + "Programming Language :: Python :: 3.3", |
| 57 | + "Programming Language :: Python :: 3.4", |
| 58 | + "Programming Language :: Python :: 3.5", |
58 | 59 | ],
|
59 |
| - test_suite='tests', |
| 60 | + test_suite="tests", |
60 | 61 | tests_require=test_requirements,
|
61 | 62 | setup_requires=setup_requirements,
|
62 | 63 | )
|
0 commit comments