diff --git a/packages/google-cloud-python-speech/UPGRADING.md b/packages/google-cloud-python-speech/UPGRADING.md index 3d3374945d6b..666c0e168094 100644 --- a/packages/google-cloud-python-speech/UPGRADING.md +++ b/packages/google-cloud-python-speech/UPGRADING.md @@ -17,10 +17,10 @@ The 2.0.0 release requires Python 3.6+. Methods expect request objects. We provide a script that will convert most common use cases. -* Install the library +* Install the library with the `libcst` extra ```py -python3 -m pip install google-cloud-speech +python3 -m pip install google-cloud-speech[libcst] ``` * The scripts `fixup_speech_v1_keywords.py` and `fixup_speech_v1p1beta1_keywords.py` are shipped with the library. It expects an input directory (with the code to convert) and an empty destination directory. diff --git a/packages/google-cloud-python-speech/setup.py b/packages/google-cloud-python-speech/setup.py index a07dd1a01731..b1b284880266 100644 --- a/packages/google-cloud-python-speech/setup.py +++ b/packages/google-cloud-python-speech/setup.py @@ -33,10 +33,9 @@ # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 "google-api-core[grpc] >= 1.28.0, <3.0.0dev", - "libcst >= 0.2.5", "proto-plus >= 1.4.0", ] -extras = {} +extras = {"libcst": "libcst >= 0.2.5"} # Setup boilerplate below this line.