auto-activate venv as one cd into a poetry project
Project description
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
# 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
File details
Details for the file xontrib-avox-poetry-0.2.1.tar.gz
.
File metadata
- Download URL: xontrib-avox-poetry-0.2.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.15-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08da056c97ae36343d83169d0613256b56d019ba476be6b947c2f1bd8b4a028b |
|
MD5 | 76e4f5164e0df9e237203af508d23341 |
|
BLAKE2b-256 | d34fd309165f9039d00ca41a98a09e3ce4d1f5180c910459a0e65429289697f4 |
File details
Details for the file xontrib_avox_poetry-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: xontrib_avox_poetry-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.15-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc0b80c5e400453ec36fbac1470de8ab752785e36c6cf1699fb461696935d30 |
|
MD5 | dbe2ca4cc9e446d24966d3fb4d3b29de |
|
BLAKE2b-256 | 5040d411f4484eb03147c262e13c6000d12a6949ac9710653ef793588a1026c1 |