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 details)
File details
Details for the file pylibmagic-0.0.1.tar.gz
.
File metadata
- Download URL: pylibmagic-0.0.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb7db9c4543028f4451049b08b1f60226bfc1c386ee0016d013ad795ca9a9af |
|
MD5 | 8e6f056709d0473b34e0dccfd3cc9649 |
|
BLAKE2b-256 | 81f78823814f23dfb4dc70e66643807212691ee9dace4661c92cc3108cd173ec |