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:
-
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: libpastelid-0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5440cde2cb5ae2b8e425b38017c62045ef86321c683ed2013d8ce651d804398
|
|
| MD5 |
0f133ad68c21df62aca1955cf03989f8
|
|
| BLAKE2b-256 |
781a7c8023ec975e025b5cde9601231b45b84b6f31fe867401e20ba8cee61d27
|
File details
Details for the file libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: libpastelid-0.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cc4d043aca4a8163d4a3c7d136a3ad5c61a0b5c3ee91e793c91b666e0f81e51
|
|
| MD5 |
3cec5ffdae47d50b8fd12eeb714d6cb9
|
|
| BLAKE2b-256 |
291baf1a0e69c132ccf1a6d50744431f531358151e82ca8a2da3a025f2e39542
|