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.182.tar.gz (15.1 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.182-py3-none-any.whl (15.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libuuu-1.5.182.tar.gz
  • Upload date:
  • Size: 15.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for libuuu-1.5.182.tar.gz
Algorithm Hash digest
SHA256 93a2701b161e15b18d97bcdcb8a37a49b46af19e320f57575cbdce4721aa8581
MD5 b99e5c26c80476679b0ff84d65bafe9d
BLAKE2b-256 c6cd7c579c0a7b928df92aa4c1b47f59cf5754d7c70a7db79467193312d8f419

See more details on using hashes here.

File details

Details for the file libuuu-1.5.182-py3-none-any.whl.

File metadata

  • Download URL: libuuu-1.5.182-py3-none-any.whl
  • Upload date:
  • Size: 15.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for libuuu-1.5.182-py3-none-any.whl
Algorithm Hash digest
SHA256 a8db7eeac6a5a9f07f574ea5500047cc33cf323f269dd30937a4f2ce9f33e5e3
MD5 530a066c4374727acb0694aa92637c1c
BLAKE2b-256 a0cd95a9885482e318536144387e939a8dc12622cdd6cac6d4494cf43ddbf288

See more details on using hashes here.

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