File tree Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change 2222
2323gapic = gcp .GAPICGenerator ()
2424common = gcp .CommonTemplates ()
25+ excludes = [
26+ 'README.rst' ,
27+ 'setup.py' ,
28+ 'docs/conf.py' ,
29+ 'docs/index.rst' ,
30+ ]
2531
2632for version in ['v2beta2' , 'v2beta3' ]:
2733 library = gapic .py_library (
2834 'tasks' , version ,
2935 config_path = f'artman_cloudtasks_{ version } .yaml' )
3036
31- s .copy (library , excludes = [ 'docs/conf.py' , 'docs/index.rst' ] )
37+ s .copy (library , excludes = excludes )
3238
3339 # Fix unindentation of bullet list second line
3440 s .replace (
5864 f"google/cloud/tasks_v2beta2/proto/queue_pb2.py" ,
5965 '(uests in queue.yaml/xml) <\n \s+' ,
6066 '\g<1>\n <' )
61-
62- # Set Release Status
63- release_status = 'Development Status :: 3 - Alpha'
64- s .replace ('setup.py' ,
65- '(release_status = )(.*)$' ,
66- f"\\ 1'{ release_status } '" )
67-
68- # Add Dependencies
69- s .replace ('setup.py' ,
70- 'dependencies = \[\n *(^.*,\n )+' ,
71- "\\ g<0> 'grpc-google-iam-v1<0.12dev,>=0.11.4',\n " )
72-
73- # Fix the enable API link
74- s .replace (
75- 'README.rst' ,
76- r'.. _Enable the Cloud Tasks API.: https://cloud.google.com/tasks' ,
77- '.. _Enable the Cloud Tasks API.: https://console.cloud.google.com/apis/'
78- 'library/cloudtasks.googleapis.com' )
You can’t perform that action at this time.
0 commit comments