Skip to content

Commit

Permalink
Fix python deps path installation (#483)
Browse files Browse the repository at this point in the history
Somehow we ended up with two different paths, __pydeps__ and
__pypackages__. Since only one was included in PYTHONPATH, the other
(used when running from source) didn't work.

Also, include original PYTHONPATH only if it's defined and remove
redundant path.resolve wrap.

https://app.clickup.com/t/24308805/SCP-3676
  • Loading branch information
Jan Warchoł authored May 10, 2022
1 parent 5ad7b63 commit 5d024b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ aaa/

**/__pycache__/

**/__pydeps__/**
**/__pypackages__/**

# keys
*.crt
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:all-docs": "node ./scripts/mk-readme && lerna run build:docs",
"pack-one-app": "([ -n \"$APPNAME\" ] || ( echo 'usage: APPNAME=@scramjet/reference-transform-1-seq yarn pack-one-app' ; exit 1 ) ) && yarn build --scope=$APPNAME && yarn prepack --scope=$APPNAME",
"clean:root": "rm -rf ./dist/",
"clean:modules": "find -name node_modules -or -name __pydeps__ -prune -exec rm -rf {} ';' 2> /dev/null",
"clean:modules": "find -name node_modules -or -name __pypackages__ -prune -exec rm -rf {} ';' 2> /dev/null",
"clean": "lerna run clean && yarn clean:root",
"cloc": "cloc . --fullpath --include-lang TypeScript --not-match-d \"(node_modules|test|dist|bdd)\" --by-percent cm",
"prepack": "yarn pack:pre",
Expand Down

0 comments on commit 5d024b4

Please sign in to comment.