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
# 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.4.tar.gz
.
File metadata
- Download URL: xontrib-avox-poetry-0.2.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eab579d50b2ad791706df8fef47e80abca26b234eb016c87b4c4878bea12905 |
|
MD5 | 429b7dab887b6e95656c702047119ed0 |
|
BLAKE2b-256 | da48e8280d44c38bea4e057a2a03b7dacaddb52b6777fe61eec74652768d98ce |
File details
Details for the file xontrib_avox_poetry-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: xontrib_avox_poetry-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3622bc33a8561f3fc3ab8c4d8e9f6dcdd37b84df9de2243aaa9516486864dafb |
|
MD5 | 222595c4d30c6a60ba8ff1ea1451057d |
|
BLAKE2b-256 | e9fcb315512225a0dc319dc407386c19147cae59024ae2dc4a57d2b442d01ae1 |