Skip to main content

Add folders to path for a virtual environment

Project description

Description

This modulke provides a cli interface to use for adding extra folders to the PATH environment variable associated with the targeted environment variable. This has the effect of extending the list of folder included upon environment activation, and enables virtualenvironments to be used as limited user profiles.

The module functions by appending a path override to the init scripts associated with the environment in question.

Installation

This module is pip installable:

pip install virtualenv-update-path

Usage

For updating all supported update paths:

virtualenv-update-path "<the path to virtualenv Script folder>" "<folder to include in path>"

For updating a bat file:

virtualenv-update-path "<path to virtualenv Script folder>/activate.bat" "<folder to include in path>"

For updating the base file:

virtualenv-update-path "<path to virtualenv Script folder>/activate" "<folder to include in path>"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

virtualenv-update-path-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file virtualenv-update-path-0.0.1.tar.gz.

File metadata

  • Download URL: virtualenv-update-path-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for virtualenv-update-path-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3e694b45f46b854a0db69a7f8ba1856470ce84b4d4621f55e060c836dc01bbfe
MD5 930bb6714ee804fde684cf1cb99a1f1d
BLAKE2b-256 2a8d8c9d86a8fcc6430e0375c963cf032e68d1772bdf307909383661156afccd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page