Skip to main content

Python bindings for the libpastelid C++ library - PastelID signer/verifier

Project description

Building and Installing the libpastelid Python Package

This guide outlines the steps to build and install the libpastelid Python package.

Prerequisites

Ensure you have the following dependencies installed on your Ubuntu system:

  1. Install Python 3 and pip:

    sudo apt-get update
    sudo apt-get install -y python3 python3-pip
    
  2. Install Development Tools and Libraries:

    sudo apt-get install -y python3-dev build-essential cmake
    
  3. Install Required Python Packages: Install the required Python packages listed in Requirements.txt:

    pip install -r Requirements.txt
    

Building the Package

1. Build the C++ libraries - See top level README

The CMake that builds libraries will also generate the setup.py file from setup.py.in.

2. Build the Wheel

Navigate to the generated setup.py file and build the wheel:

cd python_bindings
python setup.py bdist_wheel

3. Install the Package

After building the wheel, you can install the package manually:

pip install dist/libpastelid-0.1-cp36-cp36m-linux_x86_64.whl

Summary

  1. Install the necessary system and Python dependencies.
  2. Use CMake to generate the setup.py file.
  3. Build the wheel using python setup.py bdist_wheel.
  4. Install the generated wheel using pip install.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.27+ x86-64 manylinux: glibc 2.28+ x86-64

File details

Details for the file libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b5440cde2cb5ae2b8e425b38017c62045ef86321c683ed2013d8ce651d804398
MD5 0f133ad68c21df62aca1955cf03989f8
BLAKE2b-256 781a7c8023ec975e025b5cde9601231b45b84b6f31fe867401e20ba8cee61d27

See more details on using hashes here.

File details

Details for the file libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4cc4d043aca4a8163d4a3c7d136a3ad5c61a0b5c3ee91e793c91b666e0f81e51
MD5 3cec5ffdae47d50b8fd12eeb714d6cb9
BLAKE2b-256 291baf1a0e69c132ccf1a6d50744431f531358151e82ca8a2da3a025f2e39542

See more details on using hashes here.

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