gapic-generator-python
gapic-generator-python copied to clipboard
Reduce duplication in GAPIC requirements in setup.py and templates
Currently we have to manually sync the requirements of the gapic-generator library with the requirements in the templates.
-
gapic-generatorrequirements https://github.com/googleapis/gapic-generator-python/blob/723efca3f909527c48e8070eff61511293888626/setup.py#L27-L39 -
Requirements in the Client library template https://github.com/googleapis/gapic-generator-python/blob/723efca3f909527c48e8070eff61511293888626/gapic/templates/setup.py.j2#L29-L42
This goes against the DRY (Don't repeat yourself) principle. We should automatically populate the setup.py.j2 template file used for generating client libraries with the requirements of the gapic-generator library.