Commit dc4a811
committed
Correctly build extension and package.
- Correctly setup `lib` and `include` dirs with libzim.
- Build sdist only on python 3.6 to avoid duplicate file at upload on pypi
- Build extension with `rpath==$ORIGIN` to allow wrapper to find
embedded `libzim.so`
- Copy `libzim.so.6` in libzim directory before creating the wheel to
embedded it.
- Use the `manylinux_x86_64` name for the platform name.
(see https://www.python.org/dev/peps/pep-0513/)1 parent 2dc2909 commit dc4a811
2 files changed
+14
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 48 | + | |
| 49 | + | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
| 7 | + | |
| 8 | + | |
0 commit comments