Skip to main content

KEG - Image Composition Tool

Project description

GitHub CI Action

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_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:

  1. Let tox create the virtual environment(s):

    $ tox -e devel
  2. Activate the virtual environment

    $ source .tox/3/bin/activate
  3. Install requirements inside the virtual environment:

    $ pip install -U pip setuptools
    $ pip install -r .virtualenv.dev-requirements.txt
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kiwi_keg-2.0.2.tar.gz (197.1 kB view details)

Uploaded Source

File details

Details for the file kiwi_keg-2.0.2.tar.gz.

File metadata

  • Download URL: kiwi_keg-2.0.2.tar.gz
  • Upload date:
  • Size: 197.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for kiwi_keg-2.0.2.tar.gz
Algorithm Hash digest
SHA256 aa4942a552f89b610f6e26c982610a80d3997ca30f69f97b84e7d62d6c90a915
MD5 bd42a13702595e21fc9dd1b66fe1a553
BLAKE2b-256 e495a04c21af355d1c7dc4db0459d336fbe29dfbaea6c6bf9399b5a00d12cde2

See more details on using hashes here.

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