File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 43
43
exit 1
44
44
fi
45
45
46
- ptest Does spin detect conflict with editable install?
47
- prun pip install --quiet --no-build-isolation -e .
48
- OUT=$( spin build)
49
- if [[ $OUT == * " Editable install of same source detected" * ]]; then
50
- echo " Yes"
51
- else
52
- echo " No"
53
- exit 1
54
- fi
55
- ptest Do commands work with editable install?
56
- prun spin test
57
- prun pip uninstall --quiet -y example_pkg
58
-
59
46
if [[ $PLATFORM == linux || $PLATFORM == darwin ]]; then
60
47
# Detecting whether a file is executable is not that easy on Windows,
61
48
# as it seems to take into consideration whether that file is associated as an executable.
@@ -68,6 +55,20 @@ if [[ $PLATFORM == linux || $PLATFORM == darwin ]]; then
68
55
echo " No, output is: $OUT "
69
56
exit 1
70
57
fi
58
+
59
+ # Editable installs do not seem to work correctly under Windows at the moment
60
+ ptest Does spin detect conflict with editable install?
61
+ prun pip install --quiet --no-build-isolation -e .
62
+ OUT=$( spin build)
63
+ if [[ $OUT == * " Editable install of same source detected" * ]]; then
64
+ echo " Yes"
65
+ else
66
+ echo " No"
67
+ exit 1
68
+ fi
69
+ ptest Do commands work with editable install?
70
+ prun spin test
71
+ prun pip uninstall --quiet -y example_pkg
71
72
fi
72
73
73
74
ptest test command runs
You can’t perform that action at this time.
0 commit comments