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.8.tar.gz
.
File metadata
- Download URL: kraken-cli-0.1.8.tar.gz
- Upload date:
- Size: 15.6 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 | 6c0f87627c87af1a7844a08ec6cd11f950720516fe5fa9cf7bce7bb961a5168a |
|
MD5 | d93ee65fabf0eff50b5c3650a4fefafe |
|
BLAKE2b-256 | ace0eef64ca79d055c1c1d608d00005ed0c63312381df81509832d6f961a5a9a |
File details
Details for the file kraken_cli-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: kraken_cli-0.1.8-py3-none-any.whl
- Upload date:
- Size: 18.0 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 | 1f30a068ef7fcee68e030882c3f21d98cf12d59ab72d12dd6a1db52057c6d039 |
|
MD5 | 2050c3e8d54dc3e28bf466f7e034cfc8 |
|
BLAKE2b-256 | f30bb5095baf6a50f49b54ef19a6dd04bdf0cfd9e27b1600529d9cf524c7157c |