Metadata-Version: 2.1
Name: pkgcraft
Version: 0.0.5
Summary: python bindings for pkgcraft
Author-email: Tim Harder <radhermit@gmail.com>
License: MIT
Project-URL: homepage, https://github.com/pkgcraft/pkgcraft-python
Keywords: gentoo,cython
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
Provides-Extra: test

|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.

.. _tox: https://pypi.org/project/tox/
.. _valgrind: https://valgrind.org/
.. _pkgcraft: https://github.com/pkgcraft/pkgcraft/tree/main/crates/pkgcraft
.. _pkgcraft-c: https://github.com/pkgcraft/pkgcraft/tree/main/crates/pkgcraft-c

.. |ci| image:: https://github.com/pkgcraft/pkgcraft-python/workflows/ci/badge.svg
   :target: https://github.com/pkgcraft/pkgcraft-python/actions/workflows/ci.yml
.. |coverage| image:: https://codecov.io/gh/pkgcraft/pkgcraft-python/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/pkgcraft/pkgcraft-python
.. |pypi| image:: https://img.shields.io/pypi/v/pkgcraft.svg
   :target: https://pypi.python.org/pypi/pkgcraft
