Commit 6b5d0e5
authored
Synchronize Python 3 to Makefile (#87)
* Build and install Python 3 module with CMake
Use links, make_pycbf.py, and SWIG to generate interfaces from
CBFlib.html. Compile with SWIG_PYTHON_STRICT_BYTE_CHAR, which causes it
to be multiply defined.
* Make Python 3 tests take paths of in- and output files from command line
This reduces the constraints on the buildsystem and makes it easier to
clean up after tests: tests do not need to run in a subdirectory of the
input data directory.
* Avoid inconsequential output in Python 3 tests
Do not output lines that would have be removed before subsequent
comparisons.
* Add Python 3 tests in CMake
Several tests rely on cbf_standardize_numbers, which in turn needs
fgetln(3).
* Install python3-numpy-dev dependency for GitHub action
While here, also set the maximum number of concurrent CMake processes to
`nproc`.1 parent e3ec246 commit 6b5d0e5
File tree
17 files changed
+1024
-684
lines changed- .dev/docker
- .github/workflows
- m4
- patches
- pycbf
17 files changed
+1024
-684
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
0 commit comments