Skip to main content

No project description provided

Project description

kraken-cli

Python application PyPI version

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 with slap link or slap install --link.

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

kraken-cli-0.1.7.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

kraken_cli-0.1.7-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page