8000 GitHub - denialLiu/ve: Executes command in the current context of virtualenv · GitHub
[go: up one dir, main page]

Skip to content
denialLiuPublic
forked from baijian/ve

About

Executes command in the current context of virtualenv

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

README

ve == Virtualenv Exec

Run the command in context of the virtualenv.

$ ve <command> [agrument]...

Runs a command, providing it access to the packages in the virtualenv. While using ve you can require and call the packages installed in the virtualenv as if they were installed into the systemwide site-packages.

ve is inspired by bundle exec.

Install

Download the ve script and save to the executable search path, for instance,

curl -kL "http://git.io/ve" -o "$HOME/bin/ve"

Usage

Simply prefix ve to the command you're going to execute. ve will search for closest virtualenv relatived to current working directory.

By default, it checks .virtualenv directory for virtualenv in current directory. If it's not void virtualenv, it will search in the parent directory recursively.

It's possible to use another name for virtualenv directory instead of the default one. Set the environment variable VIRTUALENV_DIR to the name you prefer.

About

Executes command in the current context of virtualenv

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0