Skip to main content

A python wraper for libuuu.

Project description

libuuu

A python wrapper for libuuu.

Supported Python versions: 3.9 or newer.

Manual Build and Installation

To build the project you first need to build libuuu dynamic libraries for your operating system, or download them. In this section, manual build is described.

Building libraries

We first install vcpkg which is a C++ library manager for Windows, Linux, and MacOS. Then we set some necessary environment variables, how you set them depends on your operating system, but it is basically the same.

Linux & MacOS

Downloading vcpkg and setting up environment variables

git clone https://github.com/microsoft/vcpkg.git 
cd vcpkg
export VCPKG_ROOT=$(pwd)
export PATH=$VCPKG_ROOT:$PATH
./bootstrap-vcpkg.sh

Dependencies on Linux (Ubuntu)

sudo apt-get install gcc cmake ninja-build autotools-dev automake autoconf libudev-dev

Dependencies on MacOS

brew install ninja cmake autoconf automake libtool

Build

cd ../wrapper
cmake --preset=unix #Needs to have vcpkg in PATH & VCPKG_ROOT set.
cmake --build build

Windows

Downloading vcpkg and setting up environment variables

git clone https://github.com/microsoft/vcpkg.git 
cd vcpkg
$env:VCPKG_ROOT = $PWD.Path 
$env:Path = $env:VCPKG_ROOT + ';' + $env:Path
./bootstrap-vcpkg.bat

Dependencies on Windows

choco install ninja llvm cmake

Build

cmake --preset=windows -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
cmake --build build

Building python package

We just need to create folder ./wrapper/libuuu/lib and move the dynamic libraries there.

mkdir ./libuuu/lib
cp build/*.dll ./libuuu/lib # *.so for Linux, *.dylib for MacOS
pip install -e .

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

If you're not sure about the file name format, learn more about wheel file names.

libuuu-1.5.234.dev0-py3-none-manylinux_2_28_x86_64.whl (9.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

libuuu-1.5.234.dev0-py3-none-manylinux_2_28_aarch64.whl (9.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

libuuu-1.5.234.dev0-py3-none-macosx_11_0_x86_64.whl (3.1 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

libuuu-1.5.234.dev0-py3-none-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file libuuu-1.5.234.dev0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for libuuu-1.5.234.dev0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03ca370758492767bc16422af0cf8b0becddf6ef706ed03af4c953185cceae7c
MD5 bc39b998faa1d305a2cba96acbc86d92
BLAKE2b-256 01db98e663e36d7de75f79100971ae46359728b67c8cdf6d677dbb2c9299e4cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for libuuu-1.5.234.dev0-py3-none-manylinux_2_28_x86_64.whl:

Publisher: build_wrapper.yaml on nxp-imx/mfgtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libuuu-1.5.234.dev0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for libuuu-1.5.234.dev0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 92339f3a33abd7169642008f563ab945ca7b5277f9b638cec12982bed673d6af
MD5 a082ee94af023f6b2019437a5cdfab34
BLAKE2b-256 710c0dc269bb6911b5e9b7a442a6c2bc5bf23dacce2a2ab4497a186fb0a8ca93

See more details on using hashes here.

Provenance

The following attestation bundles were made for libuuu-1.5.234.dev0-py3-none-manylinux_2_28_aarch64.whl:

Publisher: build_wrapper.yaml on nxp-imx/mfgtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libuuu-1.5.234.dev0-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for libuuu-1.5.234.dev0-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0a03d221b9f22beee20f91b6386efb04b794c9df7ac0f2ff6e10adfbd390f9cc
MD5 2975db07411f74347e87ab3021686136
BLAKE2b-256 e3762967dfcbb5f0aab2c603539d044812968e09f274200de0c38683e4dd2a86

See more details on using hashes here.

Provenance

The following attestation bundles were made for libuuu-1.5.234.dev0-py3-none-macosx_11_0_x86_64.whl:

Publisher: build_wrapper.yaml on nxp-imx/mfgtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libuuu-1.5.234.dev0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for libuuu-1.5.234.dev0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d1a1b8c5596f316b867c5b1b7f16a772cf59b683147a7caecab49baa93419085
MD5 a54ea1477a692e90903ad47017da8079
BLAKE2b-256 57a24651a5ed59ec55f71f38c125ac8ba1a6020197e6596bfd4e8037333344da

See more details on using hashes here.

Provenance

The following attestation bundles were made for libuuu-1.5.234.dev0-py3-none-macosx_11_0_arm64.whl:

Publisher: build_wrapper.yaml on nxp-imx/mfgtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page