Commit 9de5459
committed
Meta: Install libsemigroups before building sdist
This change is sub-optimal, since libsemigroups is
not required to build an sdist; however,
libsemigroups is required to build the wheels.
With the setup we have (using setuptools as a
build-backend), there is no out-of-the box way to
move this non-python dependency out of setup.py.
As setup.py is executed when building both sdists
and wheels, we need to libsemigroups to be
available in both stages.
An alternative option would be to modify
setuptools.build_meta and write custom build_sdist
and build_wheel functions (see PEP 517), but this
really didn't seem worth it.1 parent 951c194 commit 9de5459
3 files changed
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 107 | | |
115 | 108 | | |
116 | 109 | | |
| |||
0 commit comments