scikit-build project with CMake for compiling libmagic
Project description
pylibmagic v0.0.1
Hopefully a python package that ships the libmagic binaries using CMake, scikit-build, and cibuildwheel.
Compiling
docker run -it --rm -v $PWD:/home/root -w /home/root ubuntu
$ apt install cmake autoconf automake libtool build-essential git python3-dev python3-pip
$ cmake -S . -B build
$ cmake --build build
Installing
python3 -m pip install .
and the libraries are installed at
DYLD_LIBRARY_PATH=/path/to/python/env/lib/pylibmagic/:$DYLD_LIBRARY_PATH
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
pylibmagic-0.0.1.tar.gz
(5.3 kB
view hashes)