Closed ChiaMineJP closed 2 months ago
This PR fixed some issues
.cmd
.exe
VIRTUAL_ENV
../../../venv/
chia version
chia
Error
chia init
PY_MAC_DIST_FOLDER
PY_WIN_DIST_FOLDER
PY_DIST_EXEC_ARGS
PY_DEV_EXEC_ARGS
guessPackaged()
This PR fixed some issues
.cmd
, not.exe
on Windows.VIRTUAL_ENV
env var was ignored. (Always used fixed venv path (../../../venv/
) instead)chia version
fails. (meaningchia
executable is broken). Now it raises anError
ifchia version
fails.chia init
fails. (meaningchia
executable is broken). Now it raises anError
ifchia init
fails.PY_MAC_DIST_FOLDER
andPY_WIN_DIST_FOLDER
are the same so merging them into a single constant.PY_DIST_EXEC_ARGS
andPY_DEV_EXEC_ARGS
are the same so merging them into a single constant.guessPackaged()
callings. In fact, it's only needed to be called once only to get dir path.