Commit 6fe4c0f
committed
fix(build): resolve gcl_sdk migrations path instead of hardcoding it
The path baked in a literal python3.14 site-packages location. That
assumption already breaks in the common dev-mode build (LOCAL_GENESIS_SDK_PATH
set -> gcl_sdk reinstalled with `pip install -e`), since an editable
install has no physical site-packages/gcl_sdk directory at all, only
a finder redirecting to the source tree - regardless of python version.
Resolve it via gcl_sdk.migrations.__file__ in the already-activated
venv instead, which works for both a normal and an editable install.1 parent 698da07 commit 6fe4c0f
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
0 commit comments