Skip to content
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

Support for conda, venv or pyenv-virtualenv usage in cookiecutter #207

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

HarrisonWilde
Copy link

@HarrisonWilde HarrisonWilde commented Dec 20, 2024

Resolves #199 by allowing cookiecutter to specify the virtual environment management solution and then providing template commands that generalise in the makefile meaning per-project the user can specify their preference and make install will automatically set it up in the same way.

If I understand correctly, this would require a slight change to the workflow in that a user should specify which they want to use when initiating the cookiecutter / might also make sense to add this to the GitHub repo workflow.


Checklist:

  • Updated documentation
  • CI passes
  • Labelled PR major/minor/patch

Copy link

@caldwellst caldwellst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, I think the workflow is great. Not a very complex change from the user side, and think it provides a lot of value for anyone who isn't wanting to use conda to actually be able to use the cookiecutter. Currently receiving an error from the makefile when trying to test it out, however. Will review again once resolved, but overall agree with the approach.

{{ cookiecutter.repo_name }}/.cookiecutter/config Outdated Show resolved Hide resolved
{{ cookiecutter.repo_name }}/Makefile Show resolved Hide resolved
{{ cookiecutter.repo_name }}/Makefile Outdated Show resolved Hide resolved
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.

Add optionality between conda, venv, pyenv-virtualenv etc.
2 participants