Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

fix(deps): move libcst to extras #300

Merged
merged 2 commits into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -84,6 +85,7 @@
],
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
include_package_data=True,
zip_safe=False,
)