KEG - Image Composition Tool
Project description
![CILint](https://github.com/SUSE-Enceladus/keg/workflows/CILint/badge.svg?branch=main)
keg is a command line tool that creates a [kiwi](https://github.com/OSInside/kiwi) image description based on description snippets in a given GIT repository.
## Contents
[Contributing](#contributing)
## Contributing
keg is written in Python, it uses [tox](https://tox.readthedocs.io/en/latest/) to setup a development environment for the desired Python version. Make sure the Python development headers are installed (e.g. python36-devel)
Currently, there are 5 targets for tox:
check: for code quality and integrity
devel: for development
doc: for building man pages
unit_py3_8: to run unit tests with Python version set to 3.8
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 devel `
Activate the virtual environment
` $ source .tox/3/bin/activate `
Install requirements inside the virtual environment:
` $ pip install -U pip setuptools $ pip install -r .virtualenv.dev-requirements.txt `
Let 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.
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
File details
Details for the file kiwi_keg-0.0.1.tar.gz
.
File metadata
- Download URL: kiwi_keg-0.0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1954de78b433d8c92a35a315d43a80a0a4f3e374faade2bb99e9eb532cea91c8 |
|
MD5 | 5375cb6f5b596544790e309f4c2bce3a |
|
BLAKE2b-256 | f6f91685e5464c32ec25208ea3a11273225c2c582b5d030eeac9188c2345ba58 |