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.2.tar.gz
(176.3 kB
view details)
File details
Details for the file libpy-0.2.2.tar.gz
.
File metadata
- Download URL: libpy-0.2.2.tar.gz
- Upload date:
- Size: 176.3 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 | a487b895c4d27505224ba36ef094cd24e3181dfb12f6dc048711fb1f2fa21799 |
|
MD5 | 190b7b9f51af7499f1dbd29130e4e950 |
|
BLAKE2b-256 | d06fd48c11ddd0243d69b5343c4bbb7bed6df82c25f02fd2d692699ea5fce160 |