Open hyperknot opened 6 years ago
Hi @hyperknot You just need to hook it into this function that is used to get anaconda settings https://github.com/DamnWidget/anaconda/blob/master/anaconda_lib/helpers.py#L197-L261
@DamnWidget thanks, that looks clean, I'll have a look at a PR.
Any progress on this?
It seems that pipenv / Pipfile has a chance of turning to be the standard Python dependency management format, even included in the official docs as of Python 3.6.
Is there any way to add built-in Pipfile support in Anaconda? I understand that there ENV variable support, but I don't use them as I launch ST3 projects by opening
.sublime-project
files, not from command line.With virtualenv-wrapper my solution was to put a project specific
.anaconda
file next to each.sublime-project
file, with the following contents:The problem with this was that:
~/.virtualenvs
locationNow with Pipfile we can finally solve this cleanly, without using
.anaconda
files, if there would be built-in support for Pipfile.I don't know the internals of Anaconda, but I'd be willing to help if any help is needed in implementing Pipfile support. AFAIK, all what needs to be done is running
pipenv --py
to get the interpreter if aPipfile
is found.Here is the other side of the discussion: https://github.com/kennethreitz/pipenv/issues/978