|
3 | 3 | import ast |
4 | 4 | import re |
5 | 5 |
|
6 | | -_version_re = re.compile(r'__version__\s+=\s+(.*)') |
| 6 | +_version_re = re.compile(r"__version__\s+=\s+(.*)") |
7 | 7 |
|
8 | | -with open('graphene_sqlalchemy/__init__.py', 'rb') as f: |
9 | | - version = str(ast.literal_eval(_version_re.search( |
10 | | - f.read().decode('utf-8')).group(1))) |
| 8 | +with open("graphene_sqlalchemy/__init__.py", "rb") as f: |
| 9 | + version = str( |
| 10 | + ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1)) |
| 11 | + ) |
11 | 12 |
|
12 | 13 |
|
13 | 14 | setup( |
14 | | - name='graphene-sqlalchemy', |
| 15 | + name="graphene-sqlalchemy", |
15 | 16 | version=version, |
16 | | - |
17 | | - description='Graphene SQLAlchemy integration', |
18 | | - long_description=open('README.rst').read(), |
19 | | - |
20 | | - url='https://github.com/graphql-python/graphene-sqlalchemy', |
21 | | - |
22 | | - author='Syrus Akbary', |
23 | | - author_email='me@syrusakbary.com', |
24 | | - |
25 | | - license='MIT', |
26 | | - |
| 17 | + description="Graphene SQLAlchemy integration", |
| 18 | + long_description=open("README.rst").read(), |
| 19 | + url="https://github.com/graphql-python/graphene-sqlalchemy", |
| 20 | + author="Syrus Akbary", |
| 21 | + author_email="me@syrusakbary.com", |
| 22 | + license="MIT", |
27 | 23 | classifiers=[ |
28 | | - 'Development Status :: 3 - Alpha', |
29 | | - 'Intended Audience :: Developers', |
30 | | - 'Topic :: Software Development :: Libraries', |
31 | | - 'Programming Language :: Python :: 2', |
32 | | - 'Programming Language :: Python :: 2.7', |
33 | | - 'Programming Language :: Python :: 3', |
34 | | - 'Programming Language :: Python :: 3.3', |
35 | | - 'Programming Language :: Python :: 3.4', |
36 | | - 'Programming Language :: Python :: 3.5', |
37 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
| 24 | + "Development Status :: 3 - Alpha", |
| 25 | + "Intended Audience :: Developers", |
| 26 | + "Topic :: Software Development :: Libraries", |
| 27 | + "Programming Language :: Python :: 2", |
| 28 | + "Programming Language :: Python :: 2.7", |
| 29 | + "Programming Language :: Python :: 3", |
| 30 | + "Programming Language :: Python :: 3.3", |
| 31 | + "Programming Language :: Python :: 3.4", |
| 32 | + "Programming Language :: Python :: 3.5", |
| 33 | + "Programming Language :: Python :: 3.6", |
| 34 | + "Programming Language :: Python :: 3.7", |
| 35 | + "Programming Language :: Python :: Implementation :: PyPy", |
38 | 36 | ], |
39 | | - |
40 | | - keywords='api graphql protocol rest relay graphene', |
41 | | - |
42 | | - packages=find_packages(exclude=['tests']), |
43 | | - |
| 37 | + keywords="api graphql protocol rest relay graphene", |
| 38 | + packages=find_packages(exclude=["tests"]), |
44 | 39 | install_requires=[ |
45 | | - 'six>=1.10.0', |
46 | | - 'graphene>=2.0', |
47 | | - 'SQLAlchemy', |
48 | | - 'singledispatch>=3.4.0.3', |
49 | | - 'iso8601', |
50 | | - ], |
51 | | - tests_require=[ |
52 | | - 'pytest>=2.7.2', |
53 | | - 'mock', |
54 | | - 'sqlalchemy_utils', |
| 40 | + "six>=1.10.0", |
| 41 | + "graphene>=2.1.3", |
| 42 | + "SQLAlchemy", |
| 43 | + "singledispatch>=3.4.0.3", |
| 44 | + "iso8601", |
55 | 45 | ], |
| 46 | + tests_require=["pytest>=2.7.2", "mock", "sqlalchemy_utils"], |
56 | 47 | ) |
0 commit comments