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

Uploaded Python 3

File details

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

File metadata

  • Download URL: libuuu-1.5.220.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.220.tar.gz
Algorithm Hash digest
SHA256 76da7c233bb603d66bd7eaa44cd3d2f1c02267059ff30792ef5cf3210b5dda63
MD5 0b4a0557c8b36c08ffe37bab6dad64cd
BLAKE2b-256 074c51cd06449b52738d36a31968ac18a2e97c3e67ce52107f4186727a0e08d4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libuuu-1.5.220-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.220-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb9f7834ee01b509f6120753c7c97c97deb583902de4cb0dda768b8dbd56c9a
MD5 7718cbcb14f8d45c746758ddf5fc42e6
BLAKE2b-256 713d14f0a3b11c630e55b67cac283ec1e696afc90ce0d2859c91d684d658ba08

See more details on using hashes here.

Provenance

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