-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blacken noxfile.py, setup.py (via synth). (#8136)
- Loading branch information
1 parent
54250c5
commit 9c51ee6
Showing
3 changed files
with
55 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,70 +20,67 @@ | |
|
||
# Package metadata. | ||
|
||
name = 'google-cloud-videointelligence' | ||
description = 'Google Cloud Video Intelligence API client library' | ||
version = '1.8.0' | ||
name = "google-cloud-videointelligence" | ||
description = "Google Cloud Video Intelligence API client library" | ||
version = "1.8.0" | ||
# Should be one of: | ||
# 'Development Status :: 3 - Alpha' | ||
# 'Development Status :: 4 - Beta' | ||
# 'Development Status :: 5 - Production/Stable' | ||
release_status = 'Development Status :: 5 - Production/Stable' | ||
dependencies = [ | ||
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev', | ||
] | ||
extras = { | ||
} | ||
release_status = "Development Status :: 5 - Production/Stable" | ||
dependencies = ["google-api-core[grpc] >= 1.6.0, < 2.0.0dev"] | ||
extras = {} | ||
|
||
|
||
# Setup boilerplate below this line. | ||
|
||
package_root = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
readme_filename = os.path.join(package_root, 'README.rst') | ||
with io.open(readme_filename, encoding='utf-8') as readme_file: | ||
readme_filename = os.path.join(package_root, "README.rst") | ||
with io.open(readme_filename, encoding="utf-8") as readme_file: | ||
readme = readme_file.read() | ||
|
||
# Only include packages under the 'google' namespace. Do not include tests, | ||
# benchmarks, etc. | ||
packages = [ | ||
package for package in setuptools.find_packages() | ||
if package.startswith('google')] | ||
package for package in setuptools.find_packages() if package.startswith("google") | ||
] | ||
|
||
# Determine which namespaces are needed. | ||
namespaces = ['google'] | ||
if 'google.cloud' in packages: | ||
namespaces.append('google.cloud') | ||
namespaces = ["google"] | ||
if "google.cloud" in packages: | ||
namespaces.append("google.cloud") | ||
|
||
|
||
setuptools.setup( | ||
name=name, | ||
version=version, | ||
description=description, | ||
long_description=readme, | ||
author='Google LLC', | ||
author_email='[email protected]', | ||
license='Apache 2.0', | ||
url='https://github.com/GoogleCloudPlatform/google-cloud-python', | ||
author="Google LLC", | ||
author_email="[email protected]", | ||
license="Apache 2.0", | ||
url="https://github.com/GoogleCloudPlatform/google-cloud-python", | ||
classifiers=[ | ||
release_status, | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Operating System :: OS Independent', | ||
'Topic :: Internet', | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Operating System :: OS Independent", | ||
"Topic :: Internet", | ||
], | ||
platforms='Posix; MacOS X; Windows', | ||
platforms="Posix; MacOS X; Windows", | ||
packages=packages, | ||
namespace_packages=namespaces, | ||
install_requires=dependencies, | ||
extras_require=extras, | ||
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', | ||
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", | ||
include_package_data=True, | ||
zip_safe=False, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters