Commit 5b5e3d1
committed
Install bindings with setup.py
Include instructions in setup.py to compile the bindings with cmake.
Specifically only for the plasma_source library, since we don't need
the source_sampling library in Python.
Update CMakeLists to avoid forcing the library output directory as this
conflicts with the way setuptools etc. look for package artefacts. This
means that the resulting source_sampling library is available in the
build directory, unless the CMAKE_LIBRARY_OUTPUT_DIRECTORY is
passed into the cmake configuration step.
Introduce an __init__.py so that the modules can easily be loaded and
found by setuptools.
Cleanup .gitignore and add dist and egg paths.1 parent 7be706c commit 5b5e3d1
4 files changed
Lines changed: 73 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
2 | 62 | | |
3 | 63 | | |
4 | 64 | | |
5 | 65 | | |
6 | | - | |
| 66 | + | |
7 | 67 | | |
8 | 68 | | |
9 | 69 | | |
| |||
12 | 72 | | |
13 | 73 | | |
14 | 74 | | |
15 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
16 | 78 | | |
17 | 79 | | |
18 | 80 | | |
19 | 81 | | |
20 | 82 | | |
21 | | - | |
| 83 | + | |
0 commit comments