Skip to content

Commit

Permalink
fix(deps): move libcst to extras (#300)
Browse files Browse the repository at this point in the history
* fix(deps): move libcst to extras

* Update setup.py
  • Loading branch information
busunkim96 authored Feb 14, 2022
1 parent 8711a58 commit de5d5ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-datacatalog/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 packages/google-cloud-datacatalog/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,
)

0 comments on commit de5d5ec

Please sign in to comment.