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 Distribution

libuuu-1.5.219.tar.gz (18.3 MB view details)

Uploaded Source

Built Distribution

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

libuuu-1.5.219-py3-none-any.whl (18.4 MB view details)

Uploaded Python 3

File details

Details for the file libuuu-1.5.219.tar.gz.

File metadata

  • Download URL: libuuu-1.5.219.tar.gz
  • Upload date:
  • Size: 18.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for libuuu-1.5.219.tar.gz
Algorithm Hash digest
SHA256 b650dc230ade9115463e3bf28b262fe2915731356c10c782fc53aa040333721d
MD5 1df32df9a23349566748c559d68d79c9
BLAKE2b-256 153ed9e73f2e3c6780e4af68d9cf6f263330ca9f2bafa8d7e86a03456d35c0bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for libuuu-1.5.219.tar.gz:

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.219-py3-none-any.whl.

File metadata

  • Download URL: libuuu-1.5.219-py3-none-any.whl
  • Upload date:
  • Size: 18.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for libuuu-1.5.219-py3-none-any.whl
Algorithm Hash digest
SHA256 df1b02f2a03e0871594e05584709615e2c19ceda42fbd583a2a5758bfec0f245
MD5 4d2abcc64351cd4de786ec8c726a51dc
BLAKE2b-256 4f601a1b9362874bbdc4b289bbe563b8098604047fcace8c36643425c94e39b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for libuuu-1.5.219-py3-none-any.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