We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a136da8 commit f45e0a6Copy full SHA for f45e0a6
1 file changed
packages/google-cloud-dlp/synth.py
@@ -23,20 +23,17 @@
23
gapic = gcp.GAPICGenerator()
24
common = gcp.CommonTemplates()
25
26
-client_library_version = "0.7.0"
27
-
28
library = gapic.py_library(
29
"dlp", "v2", config_path="/google/privacy/dlp/artman_dlp_v2.yaml"
30
)
31
32
-s.copy(library, excludes=["README.rst", "nox.py", "docs/index.rst"])
33
34
-# Set Release Status
35
-release_status = "Development Status :: 3 - Alpha"
36
-s.replace("setup.py", "(release_status = )(.*)$", f"\\1'{release_status}'")
37
38
-# Set version
39
-s.replace("setup.py", "version = .*", f"version = '{client_library_version}'")
+excludes = [
+ "README.rst",
+ "nox.py",
+ "setup.py",
+ "docs/index.rst",
+]
+s.copy(library, excludes=excludes)
40
41
# Fix namespace
42
s.replace(
0 commit comments