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 hashes)