A wrapper for the Bazel build system that provides a curses GUI for persistent configuration.
Project description
Baz
A wrapper for bazel with a GUI for configuring arguments. Running baz -q opens a configuration gui where you can set persistent bazel settings by choosing from detected .bazelrc configs, and other bazel flags.
Baz stores persistent information in ~/.config/baz/. You can delete your configuration and start over at any time with baz -d.
Add baz to your path and use baz as you would use bazel.
Installation
Pypi
python3 -m pip install baz --user
If you haven't already, make sure scripts from your user site are accesible from PATH.
import site
site.USER_BASE # Prints something like `/home/username/.local/`
Take this path, and add to your ~/.bashrc as: export PATH='$PATH:/home/username/.local/bin/
Usage
baz --help
usage: baz.py [-h] [-e] [-p] [-q] [-d]
optional arguments:
-h, --help show this help message and exit
-e, --emit-build-script
Emit a shell script to containing the raw Bazel build command, rather than executing it. This is useful for exporting vanilla Bazel build commands to people who do not have baz.
-p, --print-build-settings
Prints the build settings configured for Baz.
-q, --configure Run the Baz configuration TUI.
-d, --delete-configuration
Permenently delete the persistent configuration file.
Testing
Unit tests can be run with nosetests.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file baz-0.2.3.tar.gz.
File metadata
- Download URL: baz-0.2.3.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ab8fd7b20058b5ad65a05719f012f08999a6698d10678fb693aa0a0314504ef
|
|
| MD5 |
5915404d2222ac6030bbf6f384d3e165
|
|
| BLAKE2b-256 |
8443e4004bdbdaee0cdc076ee6ca2d1888e7de8512896fb51aae0d0a804b7133
|
File details
Details for the file baz-0.2.3-py3.7.egg.
File metadata
- Download URL: baz-0.2.3-py3.7.egg
- Upload date:
- Size: 21.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4f441df1a07ba7b7d56f31e274029c7f3f6c6a183377dbacf90959ac8877935
|
|
| MD5 |
2b8da2f0b4850789a3fb6eb087ba06eb
|
|
| BLAKE2b-256 |
779404a91fa8fb0155e3ab99e857cb8bf76f12defca1e9f7064adfdfc95cb285
|
File details
Details for the file baz-0.2.3-py3-none-any.whl.
File metadata
- Download URL: baz-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da280d9b33d456b11ac3a008234e77995fba785e5b4d983592b0ae55947b4d6d
|
|
| MD5 |
ceeacc7b78d3b912c89bee6654010d76
|
|
| BLAKE2b-256 |
8bc2742248815a0c2b8c758a67251bad56f61ff0dca9fae997123bcf37d118a6
|