Skip to content

pkgcraft/pkgcraft-python

Repository files navigation

ci coverage pypi

pkgcraft-python

Python bindings for pkgcraft.

Install

Install wheel from PyPI (comes with bundled pkgcraft-c library):

pip install pkgcraft

Install from git (assumes pkgcraft-c from git is installed):

git clone --recurse-submodules https://github.com/pkgcraft/pkgcraft-python.git
pip install pkgcraft-python

Development

Requirements: tox and pkgcraft-c

For development purposes, testing is performed under tox with varying targets for different functions, e.g. tox -e valgrind runs tests while checking for memory leaks using valgrind. Use tox list to see all the target descriptions.