-
Notifications
You must be signed in to change notification settings - Fork 22
conda env create #85
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
base: master
Are you sure you want to change the base?
conda env create #85
Conversation
Add make directive to build conda environment locally.
Make directive to build conda env locally
|
|
||
| install: clean | ||
| environment: | ||
| -conda env create -f environment.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove dash at beginning of line (probably a holdover from the yaml file)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(it's intentional, see PR comments)
|
Thank you! Makefiles use exactly tabs and no spaces for the directions, so double-check that the makefile is valid |
|
Is this something you wanted to add to the |
Use conda env before doing things
Instructions for installation
remove meta.yml (so as not to be confused with environment.yml)
|
Thanks for the tabs reminder. The dash is intentional before the environment directive, it will allow steps that require it to pass if that fails (for example, if the environment exists). I'm submitting another PR with code to do the conda env activation before install. Re-submitting with more changes to instructions and |
|
Nevermind about re-submitting, the new commits are already here. |
|
Can you check on the failing builds? Here's an excerpt: |
Automates local conda build before installation.
Solves this problem: