Skip to main content

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.

Actions Status Documentation Status Code style: black

PyPI version Conda-Forge PyPI platforms

GitHub Discussion Gitter

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page