Closed cLupus closed 6 years ago
Hi, I do not have any plans to add pipenv integration, but would gladly accept PRs. Thank you.
Hey, i am evaluating if i should switch to asdf and its various plugins and would like to know if pipenv works in conjunction with asdf-python or do the tools conflict with each other?
My experience is that pipenv works well with asdf.
The prgamatic way of installing pipenv, is pip install pipenv
, and as long as you ensure that the you are careful with which version of python you use.
Note that Pipenv is set to be the de facto standard, and when the Pipfile format is finalized, it seems likely that pipenv will come with python as standard.
I have now been using pipenv for a little while and it works perfectly with asdf-python, so I will close here. Please comment or open a new issue if you run into issues related to pipenv. Thanks.
@tuvistavie I've installed pipenv with pip install pipenv
, but when I issue pipenv
it is not recognized as a command. Any hints why this is happening?
Here is some info that might help:
ls ~/.asdf/installs/python/3.7.0/bin/pipenv # OK
ls ~/.asdf/shims/pipenv # File does not exist
Oh, sorry, I guess I just needed to call asdf reshim python 3.7.0
. Thanks
An important addition would be detecting Pipfile
, read the section which declares the version. This would be a parse-legacy-file
hook, and preset for that version to install
[requires]
python_version = "3.6"
That will be much more useful after https://github.com/asdf-vm/asdf/issues/269 , but is still useful atm.
What would be even more useful, but maybe beyond the scope of this plugin (optional feature?), is to automatically activate the pipenv.
https://github.com/asdf-vm/asdf/issues/269 is now resolved.
Hi, Is there any plans of integrating pipenv into the plugin?