< Home - < Back

python-virtualenvcontext


Information about the package, python-virtualenvcontext, which is shipped with common Linux distributions. The python-virtualenvcontext package is designed for, Switch virtualenvs with a python context manager.


Package Name:

python-virtualenvcontext

Summary:

Switch virtualenvs with a python context manager

Description:

Switch virtualenvs with a python context manager: >>> from virtualenvcontext import VirtualenvContext >>> try: >>> import kitchen >>> except ImportError as e: >>> print "kitchen is definitely not installed in system-python" >>> with VirtaulenvContext("my-venv"): >>> import kitchen >>> print "But it *is* installed in my virtualenv" >>> try: >>> import kitchen >>> except ImportError as e: >>> print "But once I exit that block, I lose my powers again..."

Architecture:

noarch

Version:

0.1.6

Release:

1.el6

Size:

16 k

Repository:

epel

From Repository:

Licence:

GPLv2+



Handy Yum Commands for python-virtualenvcontext


Control the python-virtualenvcontext package with the following handy commands outlined below.


Command

Description of Command

yum install python-virtualenvcontext

This command will install python-virtualenvcontext on the server.

yum remove python-virtualenvcontext

This command will un-install python-virtualenvcontext on the server. When you run this command, you will be asked if you are sure that you want to remove python-virtualenvcontext, so you have to manually confirm that you want to do this.

yum -y remove python-virtualenvcontext

This command will un-install python-virtualenvcontext on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-virtualenvcontext when using the -y flag.

yum update python-virtualenvcontext

This command will update python-virtualenvcontext to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-virtualenvcontext, so you have to manually confirm that you want to do this.

yum -y update python-virtualenvcontext

This command will update python-virtualenvcontext to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-virtualenvcontext when using the -y flag.

yum info python-virtualenvcontext

This command will show you core information about the python-virtualenvcontext package.

yum deplist python-virtualenvcontext

This command will show you the dependencies for python-virtualenvcontext. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-virtualenvcontext

This command will check if there is an update waiting on python-virtualenvcontext. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.