Utilities for writing C++ extension modules.
Project description
Utilities for writing C++ extension modules for CPython.
Requirements
libpy supports:
macOS/Linux
Python >=3.5
libpy requires:
gcc>=8 or clang>=10
numpy>=1.11.3
libpy also depends on:
pcre
google sparsehash
To install these dependencies:
ubuntu
$ sudo apt install libpcre2-dev libsparsehash-dev
macOS
$ brew install pcre2 google-sparsehash
Install
To install for development:
$ make
Otherwise, pip install libpy, making sure CC and CXX environment variables are set to the the right compiler.
Tests
To run the unit tests, invoke:
$ make test
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
libpy-0.2.1.tar.gz
(180.5 kB
view details)
File details
Details for the file libpy-0.2.1.tar.gz
.
File metadata
- Download URL: libpy-0.2.1.tar.gz
- Upload date:
- Size: 180.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 068907dc5ad5d0a82dc647b67db228b497e98b458c92cd8d5c5865db229f8c58 |
|
MD5 | b3faf919b014173507284f44e552ee82 |
|
BLAKE2b-256 | 38c4d57b34b280b786579291bb1adc593f52b085cc4e443fdef979fb3d9a60e9 |