https://github.com/pkgcraft/pkgcraft-python
Python bindings for pkgcraft
https://github.com/pkgcraft/pkgcraft-python
gentoo python
Last synced: 5 months ago
JSON representation
Python bindings for pkgcraft
- Host: GitHub
- URL: https://github.com/pkgcraft/pkgcraft-python
- Owner: pkgcraft
- Created: 2021-12-22T01:21:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T16:11:27.000Z (over 1 year ago)
- Last Synced: 2025-11-29T22:08:28.900Z (7 months ago)
- Topics: gentoo, python
- Language: Cython
- Homepage: https://pkgcraft.github.io/pkgcraft-python/
- Size: 1.28 MB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
|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