drivendataorg / cookiecutter-data-science

A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
https://cookiecutter-data-science.drivendata.org/
MIT License
7.99k stars 2.41k forks source link

Document conda-forge as a way to install make #358

Open jayqi opened 3 months ago

jayqi commented 3 months ago

Originally posted by @jayqi in https://github.com/drivendata/cookiecutter-data-science/issues/333#issuecomment-2040922265

I just saw that there's a package for Make on conda-forge, and it seems to include Windows builds. Has any tried this? https://anaconda.org/conda-forge/make/

Seems to maybe be MinGW's Make? https://github.com/conda-forge/make-feedstock/blob/0236e5e0f90183076c2e867a104fb7843e6bce9a/recipe/meta.yaml#L22C20-L22C27


Originally posted by @pjbull in https://github.com/drivendata/cookiecutter-data-science/issues/333#issuecomment-2041170120 :

I just tested this and it works, but with one slightly annoying caveat. Let's say I use conda to manage my virtual environments. Once I activate my project environment, I have to reinstall make into that environment as well since it is just in the base environment:

> conda install -c conda-forge make  # installs into base
> ccds

...  # setup project

> make create_environment
> conda activate project
> make requirements
'make' is not recognized as an internal or external command, operable program or batch file.

Originally posted by @jayqi in https://github.com/drivendata/cookiecutter-data-science/issues/333#issuecomment-2043074746 :

It'll probably take some thought here to figure out a good workflow to recommend for conda+make.

I think it's plausible that we might be able to recommend a workflow using a global application installer like pixi or condax. We're in a bit of a transitionary period though where pixi is still building out functionality and popularity, and condax is a little unclear its long-term maintenance.