File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88Utilities for writing C++ extension modules for CPython.
99
10- tests
10+ Requirements
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+
33+ .. code-block :: bash
34+
35+ $ sudo apt install libpcre2-dev libsparsehash-dev
36+
37+ macOS
38+ ~~~~~
39+
40+ .. code-block :: bash
41+
42+ $ brew install pcre2 google-sparsehash
43+
44+ Install
45+ -------
46+
47+ To install for development:
48+
49+ .. code-block :: bash
50+
51+ $ make
52+
53+ Otherwise, ``pip install libpy ``, making sure ``CC `` and ``CXX `` environment variables are set to the the right compiler.
54+
55+
56+ Tests
1157-----
1258
1359To run the unit tests, invoke:
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Welcome to libpy's documentation!
66 :caption: Contents:
77
88 tutorial
9+ install
910 appendix
1011
1112
Original file line number Diff line number Diff line change 1+ Setup
2+ =====
3+
4+ Requirements
5+ ------------
6+
7+ lipy supports:
8+
9+ - macOS/Linux
10+ - Python >=3.5
11+
12+ lipy requires:
13+
14+ - gcc>=8 or clang>=10
15+ - numpy>=1.11.3
16+
17+ libpy also depends on:
18+
19+ - pcre
20+ - google sparsehash
21+
22+ To install these dependencies:
23+
24+ ubuntu
25+ ~~~~~~
26+
27+ .. code-block :: bash
28+
29+ $ sudo apt install libpcre2-dev libsparsehash-dev
30+
31+ macOS
32+ ~~~~~
33+
34+ .. code-block :: bash
35+
36+ $ brew install pcre2 google-sparsehash
37+
38+ Install
39+ -------
40+
41+ To install for development:
42+
43+ .. code-block :: bash
44+
45+ $ make
46+
47+ Otherwise, ``pip install libpy ``, making sure ``CC `` and ``CXX `` environment variables are set to the the right compiler.
48+
49+
50+ Tests
51+ -----
52+
53+ To run the unit tests, invoke:
54+
55+ .. code-block :: bash
56+
57+ $ make test
You can’t perform that action at this time.
0 commit comments