Commit 4544439
committed
build: replace the version patching with mesonpy approach
Under PEP 517, when the backend detects a VCS checkout, build does
roughly this:
- Creates an isolated build environment
- Exports the source tree using git archive
- Builds the sdist from that exported tree
Thus the changes in meson.build are not picked up. Though the version
can be overwritten via the MESONPY_PROJECT_VERSION environment variable.
Signed-off-by: Daniel Wagner <wagi@kernel.org>1 parent 6a88792 commit 4544439
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 70 | | |
| 71 | + | |
| 72 | + | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
0 commit comments