Commit 01cd220
pyoxidizer: fix bad examples in docs
They still don't work, but at least they don't work in a more subtle way.
Before:
without `resolve_targets()`:
```
$ pyoxidizer build
error: target exe is not resolved
```
with `resolve_targets()`, but without removing the `dist` arg:
```
$ pyoxidizer build
resolving 1 targets
resolving target exe
error[CF00]: Missing parameter dist for call to <function make_exe from pyoxidizer>(dist)
--> ./pyoxidizer.bzl:10:1
|
10 | resolve_targets()
| ^^^^^^^^^^^^^^^^^ Not enough parameters in function call
error: Missing parameter dist for call to <function make_exe from pyoxidizer>(dist)
```
Now:
```
<lots of build output>
writing executable to /..././build/x86_64-unknown-linux-gnu/debug/exe/myapp
error: error calling build(): Runtime(RuntimeError { code: "PYOXIDIZER_PYTHON_EXECUTABLE", message: "creating /..././build/x86_64-unknown-linux-gnu/debug/exe/myapp\n\nCaused by:\n No such file or directory (os error 2)", label: "PythonExecutable.build()" })
```
So that's an improvement.
No idea where to go from here but hey. (Tried with both `pipx run` on python 3.9, and `pip install pyoxidizer --user` with 3.7. Broken on both.)1 parent d4b1974 commit 01cd220
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
150 | | - | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| |||
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| 169 | + | |
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
| |||
0 commit comments