Commit db49ab4
authored
fix: Clearly delineate between editable/non-editable MC installs (#114)
This captures a handful of the higher priority elements introduced by
#91, while focusing on backwards compatibility.
The primary modification here is to make more clear the distinction
between cloned/uncloned editable/non-editable installs and have the docs
adequately reflect the actions in the `install.sh` script. Previously,
the documentation stated that the installer would clone our default
model components, which was true before we transitioned to the package
model. As we've made that transition, some of the implied functionality
has been lost—right now, running the install script with no arguments
will clone MCs but not install them... so still technically accurate,
but somewhat misleading because we do not mention that any further
actions to be taken. In a similar way, calling the script with
`--no-clone` will also not clone MCs, but will also not install them
even though one could argue that a familiar user (e.g., me) might expect
`--no-clone` to not _clone_ the MC repos, but still install them using
pip. There are a few other similar logic cases, but I won't discuss them
at length. Instead, I'll summarize the behavior of the script as would
be defined by this MR:
| CLI Option | (clone) | `--no-clone` |
|------------------|---------|---------------|
| (production) | pip install model components from cloned versions | pip
install model components from PyPI |
| `--development` | pip install model components from cloned versions in
editable mode | pip install model components from PyPI (same as above) |
In all cases, when using this script, FIREWHEEL will be installed from
this local version not PyPI. I don't think that's actually the case
right now (looking at the line in the `install_firewheel` function), but
this seems like it would be the expected behavior of running this
script. Presumably, whoever's running the install script in the repo is
doing it because they want to install that version of FIREWHEEL, not
just have it turn around and download whatever the latest version is on
PyPI.1 parent 08a3acc commit db49ab4
2 files changed
+41
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
214 | 228 | | |
215 | 229 | | |
216 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
237 | 240 | | |
238 | | - | |
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
246 | | - | |
| 248 | + | |
247 | 249 | | |
248 | 250 | | |
249 | 251 | | |
250 | 252 | | |
251 | | - | |
| 253 | + | |
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
255 | | - | |
256 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
266 | | - | |
267 | 269 | | |
268 | 270 | | |
269 | 271 | | |
| |||
386 | 388 | | |
387 | 389 | | |
388 | 390 | | |
389 | | - | |
390 | | - | |
| 391 | + | |
| 392 | + | |
391 | 393 | | |
392 | 394 | | |
393 | 395 | | |
| |||
0 commit comments