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.222.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.222-py3-none-any.whl (18.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libuuu-1.5.222.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.222.tar.gz
Algorithm Hash digest
SHA256 89d3f3ec21e2c5e4bf610c039800ccb40852e10c33ae3e77bc3bd47dbf299a94
MD5 36face3dfc9682d5bb61963a780cc708
BLAKE2b-256 48ef2f7ded190b3f24940a9dae85ff4f12142e1e9194d080cab9cadc4426a46f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libuuu-1.5.222-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.222-py3-none-any.whl
Algorithm Hash digest
SHA256 781d4c7f59c539aeea5de21d5cd6f4245460765866b880a2a89db10a5de6a1dc
MD5 628df8d8a603d47c6d8431f5cd7ea287
BLAKE2b-256 ab435a77fc9b94f3a81da9e0293e5b1e705f1761ba668b341ca2434757d302bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for libuuu-1.5.222-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