astropy / astropy-workshop

Materials for Astropy Workshops
BSD 3-Clause "New" or "Revised" License
102 stars 66 forks source link

add pip-only compatible requirements.txt #212

Closed eteq closed 1 year ago

eteq commented 2 years ago

This adds a requirements.txt that's a clone of the environment.yml. Inspired by @lpsinger asking me if we have a way to install that isn't using conda.

One caveat: I am not sure we want to do this because then there are two copies of the environment. However, I think we should consider just biting the bullet and switching from conda to venv + pip. At least on the run I did the pip install is a lot faster than the conda install. But the catch is this is not a mac so I'm not sure, particularly with M1 macs, if pip is inferior.

So I could expand this PR to also update the instructions to recommend pip, but only if we think that's a good idea.

lpsinger commented 2 years ago

Someone with an M1 Mac should try this out.