No project description provided
Project description
kraken-wrapper
Provides the krakenw
command which is a wrapper around Kraken to construct an isolated and reproducible build
environment.
Features
- Produces isolated environments in PEX format
- Reads build requirements from the
.kraken.py
file header - Produces lock files (
.kraken.lock
) that can be used to reconstruct an exact build environment 1)
1) The lock files do not contain hashes for installed distributions, but only the exact version numbers from the resolved build environment.
Requirements header
If no .kraken.lock
file is present, Kraken wrapper will read the header of the .kraken.py
file to obtain the
requirements to install into the build environment. The format of this header is demonstrated below:
# ::requirements kraken-std>=0.3.0,<0.4.0 --extra-index-url https://...
# ::pythonpath build-support
The available options are:
requirements
: Here you can specify any number of Pip requirements or local requirements (of the formatdist-name @ path/to/dist
) as well as--index-url
,--extra-index-url
and--interpreter-constraint
.pythonpath
: One or more paths to add thesys.path
before your build script is executed. Thebuild-script
folder is always added by default (as is the default behaviour by thekraken-core
Python script project loader).
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
kraken-wrapper-0.1.0.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for kraken_wrapper-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908216162a4d1f047f1dff662890ca6e06ac7c2a31c28b0438dd0278d1506000 |
|
MD5 | 2defbc11a1c3847043ec3039dafce0e0 |
|
BLAKE2b-256 | f1b9df662d293975b787035300285860bf8f2acb04a69359cc4202257a200963 |