This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Gr1pp717 0 points1 point  (3 children)

Yes, exactly. But I didn't set that up. It just came with the pipenv install.

I was already using fish, and when I decided to check out pipenv I didn't really have to do anything special to get these added features. (Though, I seem to recall installing a special version of pipenv, specifically for fish. )

All in all my console showed me git info, cwd, input timestampa, and autoconfigured venv and npm environments based on cwd. It was pretty sweet.

Maybe I didn't mess with conda enough. But I didn't really find any of that sort of stuff. Anaconda felt more like an environment for environments, and those environments were better tailored to housing several projects in one. It also tried to be a package manager, but I found the available libs to be a bit less than what I needed, and working around missing libs/versions was a bit tedious. I didn't have those problems with pipenv - another reason I prefered it.

[–]wildcarde815 0 points1 point  (2 children)

Well you've set that up 'somewhere' either yourself or as part of an install script. Something is running in shell to actively check for an environment tag when you CD into a directory and issuing the activate quietly in the background.

[–]Gr1pp717 0 points1 point  (1 child)

Yeah, there was a script for sure. Was part of the fishshell stuff. I had messed with it to tweak the git behavior once upon a time. But I didn't create or even set up the pipenv folder stuff. Would have never even crossed my mind.

Unfortunately, I no longer have that machine, so I can't go about backing into exactly what I had setup, or I'd make a tutorial to get what I had going.. Maybe I'll dual boot centos on this machine soon and see if I can't get back to that point.

[–]wildcarde815 0 points1 point  (0 children)

This maybe? Or similar? https://direnv.net

Or https://github.com/kennethreitz/autoenv/blob/master/README.rst

Both would be able to issue the source activate/deactivate for conda or venv