Skip to content

Commit dcd827b

Browse files
authored
Merge pull request #12 from Kpler/update-nix
chore: update nix shell
2 parents 73f365f + 6cff771 commit dcd827b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

shell.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ in pkgs.mkShell {
3838
KPLER_VENV_DIR="$KPLER_PROJECT_DIR/.venv/py310"
3939
python -m venv $KPLER_VENV_DIR
4040
PATH="$KPLER_VENV_DIR/bin:$PATH"
41+
# Add source root to python path
42+
export PYTHONPATH="$KPLER_PROJECT_DIR/src:$PYTHONPATH"
4143
4244
# install project dependencies
4345
echo -e "\033[1;33m\n>>> UPDATING PYTHON DEPENDENCIES\033[0m"

0 commit comments

Comments
 (0)