This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

package inspired a lot by ian bicking’s virtualenv but created in fashion that it can be relocated freely through the filesystem, renamed, backuped, …

second nice feature is, that you can customize your python environment via {{ENV}}/pythonrc.py in any curious way you want.

works with python3, pypy

install

you can install this package from pypi:

pip install RVirtualEnv

# or
easy_install RVirtualEnv

# or just clone this repository
git clone http://github.com/kvbik/rvirtualenv

you should definitely try development version

to create new virtual environment just call:

rvirtualenv ~/PYENV1

# or directly from this repo

./rvirtualenv.py ~/PYENV2

usage

to enable environment, do:

# on unix
export PYTHONPATH=~/PYENV1:$PYTHONPATH

# on windows
set PYTHONPATH=c:\PYENV1;%PYTHONPATH%

after that, you can call any python command (eg: pip or easy_install, ipython, …) and it will have access to your virtual environment.

if you don’t want to mess up with environment, just call our wrapper:

# on unix
~/PYENV1/bin/python [any [params]]

# on win
c:\PYENV1\bin\python.bat [any [params]]

it should work with mod-wsgi python-path option as well, and you can enable it in runtime via site.addsitedir(venv_directory).

tests

if you are interested in testing this package, it should support many standard ways of running tests. nose is used for test discovery.

you can run any of these commands:

  • python setup.py test
  • nosetests
  • ./tests/test_all.py

package was tested on:

  • archlinux with python 3.2
  • archlinux with python 2.7
  • macosx 10.6 python 2.6
  • ms windows with python 2.6
  • ubuntu 10.04 python 2.6
  • debian lenny with python 2.5
  • debian etch with python 2.4

but there is no build environment yet.

why

main reasons why this package came into existence:

  • it does not copy python binary
  • it does not symlink core python libraries
  • you can just set up PYTHONPATH env variable and you can use any system-wide command (eg: easy_install, pip)
  • you can tune pythonrc.py file to your needs in any curious ways (useful for debugging/testing)

todo

you can use the issue tracker for more (or in TODO.rst in this repo) but some of the long term goals are here

  • test building and installing some c extension
  • test install tools (pip, easy_install and others)
  • better virtualenv inheritance (and handle more virtualenvs defined on pythonpath)

changelog

0.3.x

aka branch releases/rvirtualenv-0.3

0.3.2

  • sorry, this version does not work in interactive mode on windows, we will try hard to solve bill’s issue
  • a subprocess call in python.py replaced with os.execvp, which means less forks and gunicorn via supervisor should work when called via our python wrapper (see issue #2 for more)
  • system-wide installed rvirtualenv does work and creates virtualenvs correctly - there were issues with read only fs for non privileged users
  • repository cleanup before upload to pypi, so it should be installable (without any notes from build env - like #!/usr/bin/python2 in issue #1)
  • setuptools_dummy replaced in favour of plain MANIFEST.in

0.3.1

  • implemented cmd-line virtualenv compatible options (--no-site-packages, --python, --prompt)
  • no site packages option for pythonrc
  • non python data installed to python package (fixed bug introduced in 0.3.0)

0.3.0

  • python3 support - it really works, tests are passing
  • support for virtualenv wrapper (via: source PY/bin/activate)
  • inherit one virtualenv to another
  • bin/activate works, also on windows and relocatable
  • complete rewrite of venv
  • custom install command so you can define your own layout
  • proper functionality on macos and ubuntu

0.2.x

aka branch releases/rvirtualenv-0.2

  • installing extensions into virtual environment works
  • not released, but merged to 0.3

0.2.3

  • fixing problems with relative path when creating virtualenv
  • more compatibility with pip and uninstalling system packages (sys.real_prefix)
  • tests passing with distribute (aka setuptools fork)

0.2.2

initial versions (<=0.2.2)

Release History

Release History

0.3.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
RVirtualEnv-0.3.2.tar.gz (13.2 kB) Copy SHA256 Checksum SHA256 Source May 2, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting