Skip to content

Commit 569b297

Browse files
author
Gerry Manoim
committed
Add install steps
1 parent 2246a5e commit 569b297

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

README.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,47 @@
77

88
Utilities for writing C++ extension modules for CPython.
99

10+
Install
11+
-------
12+
13+
lipy supports:
14+
15+
- macOS/Linux
16+
- Python >=3.5
17+
18+
lipy requires:
19+
20+
- gcc>=8 or clang>=10
21+
- numpy>=1.11.3
22+
23+
libpy also depends on:
24+
25+
- pcre
26+
- google sparsehash
27+
28+
To install these dependencies:
29+
30+
**ubuntu**
31+
32+
.. code-block:: bash
33+
34+
$ sudo apt install libpcre2-dev libsparsehash-dev
35+
36+
**macOS**
37+
38+
.. code-block:: bash
39+
40+
$ brew install pcre2 google-sparsehash
41+
42+
To install for development:
43+
44+
.. code-block:: bash
45+
46+
$ make
47+
48+
Otherwise, ``pip install libpy``, making sure ``CC`` and ``CXX`` environment variables are set to the the right compiler.
49+
50+
1051
tests
1152
-----
1253

0 commit comments

Comments
 (0)