-
Notifications
You must be signed in to change notification settings - Fork 523
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
Replace Git Bash with conda #395
Comments
conda doesn't has |
conda does have nano, I created a package specifically for software carpentry: https://anaconda.org/swc/nano There's only windows packages right now, but I could do linux/mac builds if anyone wanted. We've had this discussion before, but the main advantage that conda offers (IMHO) is that you can create purpose-built installers for every platform on a per-workshop basis, using Constructor: https://github.com/conda/constructor Note that Conda, Constructor, and Conda-build are all BSD projects, and in no way corporate-controlled by Continuum. They are supported and maintained by Continuum, but available for forking should that ever be necessary. |
Is this referencing the mailing list discussion found here http://lists.software-carpentry.org/pipermail/discuss/2015-October/thread.html#3452 or something else? |
Yes, @ashander that's mostly what I had in mind. I am not sure that Constructor was available at that time, though. Since you can create installers specific for a given workshop, it can greatly reduce the steps to get people set up. |
This seems like a great option for workshops that include Python. So Conda installs python, bash, git, and nano? Does it provide a terminal emulator so that people don't have to use Windows cmd? Is there a way to get the terminal to work in Jupyter notebook on Windows? Is there an example installer or instructions available some where? thanks. |
Conda should be good at this point for workshops teaching either Python or R. We have rstudio packages in conda. We don't have much R experience internally, but we work hard to support the R ecosystem. With constructor, people would only need to run the installer. It's based on conda, but does not actually require conda as part of the installer (only requires it if you want to have your installed thing be upgradeable later.) I'm not sure about terminal emulators. I think you mean something like Console2? We don't currently have conda packages for that, but it should be easy to add. For the terminal in the notebook, that's also something that seems achievable: jupyter/notebook#172 but I don't know exactly how much work it would take. |
Anaconda Distribution has |
Hi folks, |
@biologyguy cool, nice to see. Here's a few comments:
Good luck, and ping me if you have questions. |
Thanks @msarahan! |
@biologyguy yes, you would need to make and host separate installers for each platform. If you have a complicated set of things to install, maybe it's better than telling people the command to type. For simple stuff, maybe the juice is not worth the squeeze. If anyone was bored, it would be really neat to create an on-demand installer generator. Instructors would only need to create and submit their constructor.yml files, then they'd get links to downloads out the other side. I'm pretty sure you could do this with free CI services, and then dump files somewhere free or cheap. |
I gave it a try and created a Conda (Constructor) based installer and I will use it for a spring course in a few weeks. The code is at: https://github.com/ostueker/SWC-Conda-Installer. It still needs a bit of cleanup and an EULA. Feedback on missing modules is welcome as well. |
Looks great @ostueker - thanks for your work on it. |
I'd like to add a vote for a conda-based install process. 'conda install -c swc nano' was a really easy way to get around nano install problems on windows at a recent workshop. A more automated solution would be even better. |
I've just created a v0.0.5 release for the SWC-Conda-Installer and uploaded installers for Linux, MacOSX and Windows. Please feel free to test and give some feedback. |
@ostueker you should prefer the m2-git package over the git package for windows. The former is msys2 (and older), while the latter is a repackaged Git 4 Windows. Git 4 Windows is using a not-quite-compatible core of MSYS2, so mixing the two is not a good idea. It would be easy to create the equivalent of the "Git Bash" start menu shortcut that employed MSYS2's utilities. If anyone here is interested in having permission to upload packages to the swc anaconda.org channel, let me know. |
Thanks @msarahan ! |
closing as stale |
Michael Sarahan suggested to consider conda. Add your comments here.
The text was updated successfully, but these errors were encountered: