keg is a command line tool that creates a kiwi image description based on description snippets in a given GIT repository.
Contributing
keg is written in Python, it uses tox to setup a development environment for the desired Python version. Make sure the Python development headers are installed (e.g. python36-devel). KIWI uses jing for detailed error reporting in case schema validation fails. This cannot be installed by pip, so you may want also make sure this is installed on your system.
Currently, there are 5 targets for tox:
check: for code quality and integrity
devel: for development
doc: for building man pages
unit_py3_10: to run unit tests with Python version set to 3.10
unit_py3_6: to run unit tests with Python version set to 3.6
The following procedure describes how to create the development environment:
Let tox create the virtual environment(s):
$ tox -e develActivate the virtual environment
$ source .tox/3/bin/activateInstall requirements inside the virtual environment:
$ pip install -U pip setuptools $ pip install -r .virtualenv.dev-requirements.txtLet setuptools create/update your entrypoints
$ ./setup.py develop
Once the development environment is activated and initialized with the project required Python modules, you are ready to work.
In order to leave the development mode just call:
$ deactivate
To resume your work, change into your local Git repository and run source .tox/3/bin/activate again. Skip step 3 and 4 as the requirements are already installed.
Release files for kiwi-keg 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kiwi_keg-2.1.1.tar.gz | 205.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kiwi_keg-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 256.3 kB
Release files / kiwi_keg-2.1.1.tar.gz
| Download URL | kiwi_keg-2.1.1.tar.gz |
|---|---|
| Size | 205.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
592478a5b103fb49231c953e093144369753b8f9537640584f048374904a2140
|
|
BLAKE2b-256 checksum How to use checksums |
57f144def3ac2274e1466ef00f1a75b85b1a77da13fabf1be6b9018b6b6ad4cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / kiwi_keg-2.1.1-py3-none-any.whl
| Download URL | kiwi_keg-2.1.1-py3-none-any.whl |
|---|---|
| Size | 50.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
401c173ecfdd905327e5a57ef9708af575402993fab27283f0a759b4f77311a1
|
|
BLAKE2b-256 checksum How to use checksums |
e0b8dc0d7718e8e61fa946d0a74eb03a3dcb50d9567d549bf0be07a7dd489fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|