No project description provided
Project description
# Unused Deps Py
unused_deps_py is a command line tool to determine any unused dependencies in [java_library](https://docs.bazel.build/versions/master/be/java.html#java_library) rules. targets. It outputs buildozer commands to apply the suggested prunings. It’s based on unused_deps but it also adds support for rules_jvm_external maven repositories.
## Installation
### Preferred way `shell $ pip install unused-deps-py $ unused_deps_py --help `
### Building from sources `shell $ bazel run //unused_deps_py --help `
## Usage
`shell unused_deps_py TARGET... `
Here, TARGET is a space-separated list of Bazel labels, with support for :all and …
## Releasing to PyPI
In order to release a new version you first need to edit BUILD.bazel to bump the version number, then you need to run:
`shell $ bazel build //unused_deps_py:unused_deps_py_wheel $ twine upload bazel-bin/unused_deps_py/unused_deps_py-<version>-py3-none-any.whl `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for unused_deps_py-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a662dd968415910d2fc5dcfb240dd57f27747e6258db2af3fe17a50b4cf7ab7a |
|
MD5 | 007807981a718dbf32ed673de1b06f15 |
|
BLAKE2b-256 | 4ed0134f0a7e7ea2ef2333e9d1b555e319eef55511a86e118d866480eb9dfdc4 |