python-virtualenv
v0.0.4
Published
Foobar
Downloads
6
Readme
python-virtualenv
python-virtualenv is a small package that creates virtualenvs, so you can include a python with
custom packages in your project and that you do not pollute your global python installation.
Usage
virtualenv = require('python-virtualenv');
// Install a virtualenv for the current project.
virtualenv.installEnv();Install a package
virtualenv.installPackage('django');Execute a script
virtualenv.executeScript('foo.py').then(
function successHandler(stdout){
console.log(stdout);
},
function errorHandler(stderr){
console.log(stderr);
}
);