/asdf-pipenv

asdf plugin to manage pipenv versions

Primary LanguageShellMIT LicenseMIT

asdf-pipenv

githubactions

Pipenv plugin for asdf version manager. Inspired by asdf-poetry.

Requirements

  • curl;
  • python (version 3.4 or newer).

Limitations

At the moment, pipenv is installed by creating a virtual environment using an active interpreter (system or installed via asdf-python). If the interpreter that was active at the time of installation is subsequently deleted, the installed pipenv version will stop working. To fix, you will have to reinstall affected pipenv version.

Install

With asdf already installed:

asdf plugin-add pipenv https://github.com/and-semakin/asdf-pipenv.git

Use

To list all versions

asdf list all pipenv

To install a specific version of pipenv:

asdf install pipenv 2018.11.26
asdf install pipenv 2020.4.1b2

To uninstall a specific version of pipenv:

asdf uninstall pipenv 2018.11.26

To set a global version of pipenv:

asdf global pipenv 2020.4.1b2

To set a project-specific version of pipenv:

asdf local pipenv 2018.11.26