No project description provided
Project description
kraken-cli
The command-line interface to the Kraken CLI.
Unless you set the environment variable KRAKEN_MANAGED=0
, the CLI will always bootstrap a new Python virtual
environment for you that contains exactly the build requirements set forth in your project requirements. These
requirements can be specified either in a spearate file (.kraken/requirements.txt
) or in the build script directly.
# ::requirements PyYAML kraken-std
# ::requirements --extra-index-url https://test.pypi.org/simple
#
# This is a Kraken build script
from kraken.std.docker import build_docker_image
build_docker_image()
For package indices that require authentication, the typical way to configure credentials of additional indexes in
Pip should be used (it is recommended to use ~/.netrc
if possible).
Development
When developing this package locally, it may be desirable to have the current version being developed installed
into the virtual environment. For this purpose, you can set the KRAKEN_DEVELOP=1
variable, which will change
the implied dependency from kraken-cli
to the directory that contains the kraken.cli
module.
Note: Currently, the source directory of the kraken-cli project is derived by following the symlink of the
kraken/cli/__init__.py
file and then looking four directories up (cli, kraken, src, kraken-cli project root). This assumption is made based on how symlink installs work withslap link
orslap install --link
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kraken-cli-0.1.7.tar.gz
.
File metadata
- Download URL: kraken-cli-0.1.7.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 500a17a98f6e0d75f857015eda0353ba0cfed11c90b29e3fae1bfda9f4852260 |
|
MD5 | f1172e6936b4d78b929ee78f15fa48a3 |
|
BLAKE2b-256 | 394482ad1d6c8d819455ddf9300eed5c80f363ba208587fa5a2c5bc23eba6199 |
File details
Details for the file kraken_cli-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: kraken_cli-0.1.7-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59fdf9f263ff892df97644488c717222e51f58606f053a9393154662918b6366 |
|
MD5 | e73d454cb0fa288afc4209e2e4494422 |
|
BLAKE2b-256 | ff945f4eb69dca6fee66223e6ced8d85bb5684c448ea5a156ad50bf6c3649072 |