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.3.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.8 MB view details)

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

libpastelid-0.3.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.8 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.3.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for libpastelid-0.3.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c74b7c02f36e219c583dfac5c9cff92844b967f41ff54d51764356f2a73b9142
MD5 efef852af3278d836f8a8949b84d13e5
BLAKE2b-256 28e681730776f87b72cf0927c3a2f08a2be4bcb8e9ce3a394856e5aa876baa95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for libpastelid-0.3.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6aaf96d73a7134ea0175cd499f019e7b63592ca5532e8d15a9e923aa40246906
MD5 7728c869ecedc8a3893a7750f021c872
BLAKE2b-256 38ffddf2bbb2f5e4f6f3e793542dac0cfdb279416881e2ca71e1b32e660e57eb

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