Skip to content

Refactor/change cache dir location #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

tylerflint
Copy link
Contributor

So it turns out this engine hasn't been properly vendoring the pip modules. Even though we were specifying the "src" dir as a cache_dir, the pip install wasn't actually storing the modules in there. After some research, it was confirmed that the pip install was installing into global package space. This means that every nanobox build would completely wipe the installed modules and re-install them. Additionally, it means the "src" cache_dir was pointless.

This change adds proper vendoring for python, into the .nanobox/pip cache_dir.

@benspaulding
Copy link

I think #43 will handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants