Skip to main content

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.

Release files for libpastelid 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for libpastelid 0.4
File Interpreter ABI Platform
libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details

Total release size: 5.8 MB

Release files / libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.9 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b5440cde2cb5ae2b8e425b38017c62045ef86321c683ed2013d8ce651d804398
BLAKE2b-256 checksum
How to use checksums
781a7c8023ec975e025b5cde9601231b45b84b6f31fe867401e20ba8cee61d27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.9 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4cc4d043aca4a8163d4a3c7d136a3ad5c61a0b5c3ee91e793c91b666e0f81e51
BLAKE2b-256 checksum
How to use checksums
291baf1a0e69c132ccf1a6d50744431f531358151e82ca8a2da3a025f2e39542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page