chore: blacken (#772)
diff --git a/setup.py b/setup.py
index 89c32a9..643df2e 100644
--- a/setup.py
+++ b/setup.py
@@ -22,34 +22,29 @@
import sys
if sys.version_info < (2, 7):
- print('google-api-python-client requires python version >= 2.7.',
- file=sys.stderr)
- sys.exit(1)
+ print("google-api-python-client requires python version >= 2.7.", file=sys.stderr)
+ sys.exit(1)
if (3, 1) <= sys.version_info < (3, 4):
- print('google-api-python-client requires python3 version >= 3.4.',
- file=sys.stderr)
- sys.exit(1)
+ print("google-api-python-client requires python3 version >= 3.4.", file=sys.stderr)
+ sys.exit(1)
from setuptools import setup
-packages = [
- 'apiclient',
- 'googleapiclient',
- 'googleapiclient/discovery_cache',
-]
+packages = ["apiclient", "googleapiclient", "googleapiclient/discovery_cache"]
install_requires = [
- 'httplib2>=0.9.2,<1dev',
- 'google-auth>=1.4.1',
- 'google-auth-httplib2>=0.0.3',
- 'six>=1.6.1,<2dev',
- 'uritemplate>=3.0.0,<4dev',
+ "httplib2>=0.9.2,<1dev",
+ "google-auth>=1.4.1",
+ "google-auth-httplib2>=0.0.3",
+ "six>=1.6.1,<2dev",
+ "uritemplate>=3.0.0,<4dev",
]
long_desc = """The Google API Client for Python is a client library for
accessing the Plus, Moderator, and many other Google APIs."""
import googleapiclient
+
version = googleapiclient.__version__
setup(
@@ -60,23 +55,23 @@
author="Google Inc.",
url="http://github.com/google/google-api-python-client/",
install_requires=install_requires,
- python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
+ python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
packages=packages,
package_data={},
license="Apache 2.0",
keywords="google api client",
classifiers=[
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.4',
- 'Programming Language :: Python :: 3.5',
- 'Programming Language :: Python :: 3.6',
- 'Programming Language :: Python :: 3.7',
- 'Development Status :: 5 - Production/Stable',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: Apache Software License',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
+ "Programming Language :: Python :: 2",
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: Apache Software License",
+ "Operating System :: OS Independent",
+ "Topic :: Internet :: WWW/HTTP",
],
)