Skip to content

mise-plugins/mise-pipenv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Virtualenv Activation

Automatically activate the pipenv virtualenv when entering the directory with the following .rtx.toml:

[tools]
pipenv = {version='latest', pipfile='Pipfile'}
python = '3.11' # must be after pipenv so the pipenv bin is first in PATH

About

rtx plugin to manage pipenv versions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%