Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit c657f60

Browse files
committed
WIP - committing the work so far
1 parent 84978cd commit c657f60

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

setup.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
# 'Development Status :: 4 - Beta'
2929
# 'Development Status :: 5 - Production/Stable'
3030
release_status = "Development Status :: 5 - Production/Stable"
31-
dependencies = ["google-api-core[grpc] >= 1.14.0, < 2.0.0dev"]
31+
dependencies = [
32+
"google-api-core[grpc] >= 1.22.2, < 2.0.0dev",
33+
"proto-plus >= 1.4.0",
34+
"libcst >= 0.2.5",
35+
]
3236
extras = {}
3337

3438

@@ -43,7 +47,9 @@
4347
# Only include packages under the 'google' namespace. Do not include tests,
4448
# benchmarks, etc.
4549
packages = [
46-
package for package in setuptools.find_packages() if package.startswith("google")
50+
package
51+
for package in setuptools.PEP420PackageFinder.find()
52+
if package.startswith("google")
4753
]
4854

4955
# Determine which namespaces are needed.
@@ -66,12 +72,10 @@
6672
"Intended Audience :: Developers",
6773
"License :: OSI Approved :: Apache Software License",
6874
"Programming Language :: Python",
69-
"Programming Language :: Python :: 2",
70-
"Programming Language :: Python :: 2.7",
7175
"Programming Language :: Python :: 3",
72-
"Programming Language :: Python :: 3.5",
7376
"Programming Language :: Python :: 3.6",
7477
"Programming Language :: Python :: 3.7",
78+
"Programming Language :: Python :: 3.8",
7579
"Operating System :: OS Independent",
7680
"Topic :: Internet",
7781
],
@@ -80,7 +84,8 @@
8084
namespace_packages=namespaces,
8185
install_requires=dependencies,
8286
extras_require=extras,
83-
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
87+
python_requires=">=3.6",
88+
scripts=["scripts/fixup_datatransfer_v1_keywords.py"],
8489
include_package_data=True,
8590
zip_safe=False,
8691
)

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "[email protected]:plamut/python-bigquery-datatransfer.git",
7-
"sha": "c9c939dac31650963c694e0df8e0e319742491eb"
7+
"sha": "84978cdd24a3b504b5f6fcafcec6841a512d2d60"
88
}
99
},
1010
{
@@ -26,7 +26,7 @@
2626
{
2727
"client": {
2828
"source": "googleapis",
29-
"apiName": "bigquery-data-transfer",
29+
"apiName": "datatransfer",
3030
"apiVersion": "v1",
3131
"language": "python",
3232
"generator": "bazel"

synth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# ----------------------------------------------------------------------------
3030
for version in versions:
3131
library = gapic.py_library(
32-
service="bigquery-data-transfer",
32+
service="bigquery_datatransfer",
3333
version=version,
3434
bazel_target=(
3535
f"//google/cloud/bigquery/datatransfer/{version}:"

0 commit comments

Comments
 (0)