-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iterate overall all python paths and if same folder has same name multiple times, then merge the content and put to <job_dir>/site-packages Solves problem with imports for some dependencies. Default layout (/windmill/cache/): dep==x.y.z └── X └── A dep-ext==x.y.z └── X └── B In this case python would be confused with finding B module. This function will convert it to (/<job_id>): site-packages └── X ├── A └── B This way python has no problems with finding correct module
- Loading branch information
Showing
2 changed files
with
110 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters