Commit 19595b4
committed
Switch to src-layout to fix test imports
The flat layout caused the source diffcp/ to shadow the installed
package during testing, preventing _diffcp.so from being found.
With src-layout, pytest runs against the installed package in
site-packages which includes the compiled C++ extension.1 parent 844f7d4 commit 19595b4
File tree
6 files changed
+2
-2
lines changed- .github/workflows
- src/diffcp
6 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments