Skip to content
This repository has been archived by the owner on Oct 13, 2019. It is now read-only.

jelly/pyalpm

Repository files navigation

pyalpm - python bindings for the libalpm library

Build Status Documentation Status

pyalpm is a C extension for Python 3 that give access to the libalpm API for package management, which is used, for example in the Arch Linux distribution.

Requirements

  • Python 3 or later

  • libalpm 10 or later

  • python-setuptools

  • python-sphinx (optional, to build the docs)

Building

Building is as easy as running make

make

Building the docs:

make -C doc html

Testing

Required test dependency:

  • python-pytest
  • gcovr (optional, generating C coverage)

Unit tests can be run with:

make test

Coverage for Python code can be generated as following:

make open-coverage

Coverage for the CPython code can be generated as following:

make open-ext-coverage

About

Python 3 bindings for libalpm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages