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:
-
Install Python 3 and pip:
sudo apt-get update sudo apt-get install -y python3 python3-pip
-
Install Development Tools and Libraries:
sudo apt-get install -y python3-dev build-essential cmake
-
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
- Install the necessary system and Python dependencies.
- Use CMake to generate the
setup.pyfile. - Build the wheel using
python setup.py bdist_wheel. - Install the generated wheel using
pip install.
Metadata
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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.27+ x86-64, Linux glibc 2.28+ x86-64 | Details for libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
| 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 for libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
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
|
Security for libpastelid 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.