diff --git a/UPGRADING.md b/UPGRADING.md index d004f99e..17cefe5f 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -22,7 +22,7 @@ If you experience issues or have questions, please file an [issue](https://githu * Install the library ```py -python3 -m pip install google-cloud-datacatalog +python3 -m pip install google-cloud-datacatalog[libcst] ``` * The script `fixup_datacatalog_v1_keywords.py` is shipped with the library. It expects diff --git a/setup.py b/setup.py index 4a7e03d2..8f5ff267 100644 --- a/setup.py +++ b/setup.py @@ -33,10 +33,11 @@ # https://github.com/googleapis/google-cloud-python/issues/10566 "google-api-core[grpc] >= 1.28.0, <3.0.0dev", "grpc-google-iam-v1 >= 0.12.3, < 0.13dev", - "libcst >= 0.2.5", "proto-plus >= 1.4.0", ] +extras = {"libcst": "libcst >= 0.2.5"} + package_root = os.path.abspath(os.path.dirname(__file__)) readme_filename = os.path.join(package_root, "README.rst") @@ -84,6 +85,7 @@ ], namespace_packages=namespaces, install_requires=dependencies, + extras_require=extras, include_package_data=True, zip_safe=False, )