auto-activate venv as one cd into a poetry project
Project description
Overview
auto-activate venv as one cd into a poetry project folder.
Installation
To install use pip:
xpip install xontrib-avox-poetry
# or: xpip install -U git+https://github.com/jnoortheen/xontrib-avox-poetry
Usage
xontrib load avox_poetry
Configuration
# If found, the env name is searched inside the $VIRTUALENV_HOME
# rather than invoking `poetry env info -p` command every time `cd` happens
# It is faster setting this variable. It will also be used by poetry.
$VIRTUALENV_HOME = "~/.virtualenvs"
# name of the venv folder. If found will activate it.
# if set to None then local folder activation will not work.
$XSH_AVOX_VENV_NAME = ".venv"
# exclude activation of certain paths by setting
$XSH_AVOX_EXCLUDED_PATHS = {"xsh-src"}
Credits
This package was created with xontrib cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for xontrib-avox-poetry-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 560b3175a16a48da6c956058ed548f550838cbc4d6c45e8eef1bf9609e053288 |
|
MD5 | 266dce69a7ff54750b3acb12ebaaa968 |
|
BLAKE2b-256 | 9ef2a7965f7a1ba27b40d00c9a6ff9ad0b5345ca48be818a032f472c08bf1a55 |
Close
Hashes for xontrib_avox_poetry-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a7362f6c1a937f10bbaebe563ba8fc7cff9fc0fab113d140427824372ceb0bc |
|
MD5 | 756d460d7cb07fa3af077f0b3730e67d |
|
BLAKE2b-256 | 142ba91db9b293cf071f0516f059cee140e16d33db07f56e6ecf9e66e5eb03be |