Skip to main content

python bindings for pkgcraft

Project description

CI coverage pypi

pkgcraft-python

Python bindings for pkgcraft.

Install

Install pre-built package from pypi:

pip install pkgcraft

Install from git (assumes pkgcraft-c has been installed from git and cython is available):

pip install https://github.com/pkgcraft/pkgcraft-python/archive/master.tar.gz

Install from a tarball (assumes required release of pkgcraft-c is installed):

python setup.py install

Development

Requirements: >=python-3.9, tox, valgrind, and everything required to build pkgcraft-c

Use the following commands to set up a dev environment:

# clone the pkgcraft workspace and pull the latest project updates
git clone --recurse-submodules https://github.com/pkgcraft/pkgcraft-workspace.git
cd pkgcraft-workspace
git submodule update --recursive --remote

# build pkgcraft-c library and set shell variables (e.g. $PKG_CONFIG_PATH)
source ./build pkgcraft-c

cd pkgcraft-python
# build and test
tox -e python

For development purposes, testing is performed under tox using varying targets for different functions. Use tox list to see all the target descriptions.

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

pkgcraft-0.0.2.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distributions

pkgcraft-0.0.2-cp311-cp311-manylinux_2_28_x86_64.whl (4.6 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pkgcraft-0.0.2-cp311-cp311-manylinux_2_28_ppc64le.whl (5.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ppc64le

pkgcraft-0.0.2-cp311-cp311-manylinux_2_28_aarch64.whl (4.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

pkgcraft-0.0.2-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

pkgcraft-0.0.2-cp310-cp310-manylinux_2_28_ppc64le.whl (5.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ppc64le

pkgcraft-0.0.2-cp310-cp310-manylinux_2_28_aarch64.whl (4.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

pkgcraft-0.0.2-cp39-cp39-manylinux_2_28_x86_64.whl (4.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

pkgcraft-0.0.2-cp39-cp39-manylinux_2_28_ppc64le.whl (5.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ppc64le

pkgcraft-0.0.2-cp39-cp39-manylinux_2_28_aarch64.whl (4.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

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