MNT: Add symbolic link to environment.yml for user clarity #104
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR partially reverts things I did in PR #85. To make it easier for users who are not used to binder but maybe used to typical Conda workflows, add a symbolic link from
binder/environment.yml
toenvironment.yml
in the top level of the repository. Additionally, change all instances ofbinder/environment.yml
toenvironment.yml
(that is, rungit grep --name-only "binder/environment.yml" | xargs sed -i 's|binder/environment.yml|environment.yml|g'
).
This does not fully revert the work of PR #85 though, as Binder will always look for config files under the
binder/
directory in a repository if the directory exists. So this is more of a way to keep Binder config clear but also make things easier/clearer for users.For an example of this behavior, c.f. phinate/differentiable-analysis-examples#1.