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

anaconda setup #17

Closed
sinewalker opened this issue Feb 22, 2017 · 2 comments

Comments

@sinewalker
Copy link
Owner

commented Feb 22, 2017

  • add anaconda to 30_osx_homebrew_casks.sh
  • make a function to activate/deactivate anaconda (my existing one doesn't work), buy path_add or path_remove ~/anaconda3/bin

basically: anaconda is a really good distribution for Scientific Computing with iPython/Matplotlib/numpy etc. and setting all this up in MacOS on vanilla iPython is a pain.

Could maybe consider an installer for anaconda on Linux, if I like/want it there, that's an optional thing to consider with issue #8

@sinewalker sinewalker modified the milestone: 1.0-macOS Feb 22, 2017

sinewalker added a commit that referenced this issue Feb 23, 2017
support for Anaconda
Closes issue #17.

 - Activate and deactivate Anaconda with the 'sucuri' function (_sucuri_ is the
   Brazillian word for anaconda)

 - Enhance "awesome prompt" to show Anaconda status and anaconda venvs

 - install anaconda on macOS (homebrew cask)

 - bash completion for activate function

 - support activate/deactivate of Anaconda venvs by deferring to anaconda
   'source' scripts. Also makes it nicer because you don't have to type out
   "source activate _venv_" and "source deactivate":  you can just type
   "activate _venv_" and "deactivate"

it truely is a monster prompt now...
@sinewalker

This comment has been minimized.

Copy link
Owner Author

commented Feb 23, 2017

  • Activate and deactivate Anaconda with the 'sucuri' function (sucuri is the
    Brazillian word for anaconda)

  • Enhance "awesome prompt" to show Anaconda status and anaconda venvs

  • install anaconda on macOS (homebrew cask)

  • bash completion for activate function

  • support activate/deactivate of Anaconda venvs by deferring to anaconda
    'source' scripts. Also makes it nicer because you don't have to type out
    "source activate venv" and "source deactivate": you can just type
    "activate venv" and "deactivate"

@sinewalker sinewalker closed this Feb 23, 2017

@sinewalker

This comment has been minimized.

Copy link
Owner Author

commented Mar 11, 2017

Commits:

  • Support for Anaconda: 9561ac4
  • Fix emoji in prompt for non-Mac: 144ae99
  • anaconda: correct error handling: 34181f8
  • extend support for Anaconda to lsvenv and activte, with bash completion 089bcb3 and fe994bd
sinewalker referenced this issue Mar 11, 2017
emoji snake only works (easily) on macOS
I tested on openSUSE / KDS Konsole and Linux console: doesn't render

It can be made to work, but it's not worth the trouble
sinewalker referenced this issue Mar 12, 2017
extend support for Anaconda to lsvenv and activte with bash completion
 - lsvenv can now list conda environments (using conda) if it detects conda

 - activate now lists conda environments after failed activations

 - bash completion for activate will look to conda for completing words, if it
   detects it
sinewalker referenced this issue Mar 12, 2017
make conda env listing DRY
Note to self: don't try to code while your youngling is talking your ear off.
Nobody is satisfied with the outcome.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.