Skip to content

Commit

Permalink
update channels
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyminium committed Nov 16, 2024
1 parent ad7dbca commit 5d19da5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions {{cookiecutter.repo_name}}/devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: {{cookiecutter.repo_name}}-test
channels:{% if cookiecutter.dependency_source == 'Prefer conda-forge over the default anaconda channel with pip fallback' %}
- conda-forge{% endif %}
channels:{% if cookiecutter.__dependency_source == 'anaconda' %}
- defaults
{% elif cookiecutter.__dependency_source == 'conda-forge' %}
- conda-forge
{% endif %}
dependencies:
# Base depends
- python
- pip
{% if cookiecutter.dependency_source == 'Prefer conda-forge over the default anaconda channel with pip fallback' %}
{% if cookiecutter.__dependency_source == 'conda-forge' %}
# MDAnalysis
- MDAnalysis
{% endif %}
# Testing
- pytest
- pytest-cov
- pytest-xdist
{% if cookiecutter.dependency_source == 'Prefer default anaconda channel with pip fallback' %}
{% if cookiecutter.__dependency_source == 'anaconda' %}
# Pip-only installs
- pip:
- codecov
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.repo_name}}/docs/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: {{cookiecutter.repo_name}}-docs
channels:
{% if cookiecutter.dependency_source == 'Prefer default anaconda channel with pip fallback' %}
{% if if cookiecutter.__dependency_source == 'anaconda' %}
- defaults
{% else %}
- conda-forge
Expand Down

0 comments on commit 5d19da5

Please sign in to comment.