|
20 | 20 |
|
21 | 21 | # Package metadata. |
22 | 22 |
|
23 | | -name = 'google-cloud-spanner' |
24 | | -description = 'Cloud Spanner API client library' |
25 | | -version = '1.9.0' |
| 23 | +name = "google-cloud-spanner" |
| 24 | +description = "Cloud Spanner API client library" |
| 25 | +version = "1.9.0" |
26 | 26 | # Should be one of: |
27 | 27 | # 'Development Status :: 3 - Alpha' |
28 | 28 | # 'Development Status :: 4 - Beta' |
29 | 29 | # 'Development Status :: 5 - Production/Stable' |
30 | | -release_status = 'Development Status :: 5 - Production/Stable' |
| 30 | +release_status = "Development Status :: 5 - Production/Stable" |
31 | 31 | dependencies = [ |
32 | | - 'google-api-core[grpc, grpcgcp] >= 1.4.1, < 2.0.0dev', |
| 32 | + "google-api-core[grpc, grpcgcp] >= 1.4.1, < 2.0.0dev", |
33 | 33 | "google-cloud-core >= 1.0.0, < 2.0dev", |
34 | | - 'grpc-google-iam-v1 >= 0.11.4, < 0.12dev', |
| 34 | + "grpc-google-iam-v1 >= 0.11.4, < 0.12dev", |
35 | 35 | ] |
36 | | -extras = { |
37 | | -} |
| 36 | +extras = {} |
38 | 37 |
|
39 | 38 |
|
40 | 39 | # Setup boilerplate below this line. |
41 | 40 |
|
42 | 41 | package_root = os.path.abspath(os.path.dirname(__file__)) |
43 | 42 |
|
44 | | -readme_filename = os.path.join(package_root, 'README.rst') |
45 | | -with io.open(readme_filename, encoding='utf-8') as readme_file: |
| 43 | +readme_filename = os.path.join(package_root, "README.rst") |
| 44 | +with io.open(readme_filename, encoding="utf-8") as readme_file: |
46 | 45 | readme = readme_file.read() |
47 | 46 |
|
48 | 47 | # Only include packages under the 'google' namespace. Do not include tests, |
49 | 48 | # benchmarks, etc. |
50 | 49 | packages = [ |
51 | | - package for package in setuptools.find_packages() |
52 | | - if package.startswith('google')] |
| 50 | + package for package in setuptools.find_packages() if package.startswith("google") |
| 51 | +] |
53 | 52 |
|
54 | 53 | # Determine which namespaces are needed. |
55 | | -namespaces = ['google'] |
56 | | -if 'google.cloud' in packages: |
57 | | - namespaces.append('google.cloud') |
| 54 | +namespaces = ["google"] |
| 55 | +if "google.cloud" in packages: |
| 56 | + namespaces.append("google.cloud") |
58 | 57 |
|
59 | 58 |
|
60 | 59 | setuptools.setup( |
61 | 60 | name=name, |
62 | 61 | version=version, |
63 | 62 | description=description, |
64 | 63 | long_description=readme, |
65 | | - author='Google LLC', |
66 | | - author_email='googleapis-packages@google.com', |
67 | | - license='Apache 2.0', |
68 | | - url='https://github.com/GoogleCloudPlatform/google-cloud-python', |
| 64 | + author="Google LLC", |
| 65 | + author_email="googleapis-packages@google.com", |
| 66 | + license="Apache 2.0", |
| 67 | + url="https://github.com/GoogleCloudPlatform/google-cloud-python", |
69 | 68 | classifiers=[ |
70 | 69 | release_status, |
71 | | - 'Intended Audience :: Developers', |
72 | | - 'License :: OSI Approved :: Apache Software License', |
73 | | - 'Programming Language :: Python', |
74 | | - 'Programming Language :: Python :: 2', |
75 | | - 'Programming Language :: Python :: 2.7', |
76 | | - 'Programming Language :: Python :: 3', |
77 | | - 'Programming Language :: Python :: 3.5', |
78 | | - 'Programming Language :: Python :: 3.6', |
79 | | - 'Programming Language :: Python :: 3.7', |
80 | | - 'Operating System :: OS Independent', |
81 | | - 'Topic :: Internet', |
| 70 | + "Intended Audience :: Developers", |
| 71 | + "License :: OSI Approved :: Apache Software License", |
| 72 | + "Programming Language :: Python", |
| 73 | + "Programming Language :: Python :: 2", |
| 74 | + "Programming Language :: Python :: 2.7", |
| 75 | + "Programming Language :: Python :: 3", |
| 76 | + "Programming Language :: Python :: 3.5", |
| 77 | + "Programming Language :: Python :: 3.6", |
| 78 | + "Programming Language :: Python :: 3.7", |
| 79 | + "Operating System :: OS Independent", |
| 80 | + "Topic :: Internet", |
82 | 81 | ], |
83 | | - platforms='Posix; MacOS X; Windows', |
| 82 | + platforms="Posix; MacOS X; Windows", |
84 | 83 | packages=packages, |
85 | 84 | namespace_packages=namespaces, |
86 | 85 | install_requires=dependencies, |
87 | 86 | extras_require=extras, |
88 | | - python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', |
| 87 | + python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", |
89 | 88 | include_package_data=True, |
90 | 89 | zip_safe=False, |
91 | 90 | ) |
0 commit comments