skip to navigation
skip to content

oreka 0.1

Virtualenv management from python

What is Oreka?

Oreka is a python module to create Python Virtual Environments from Python scripts.

How to install Oreka?

You may want to run this from inside a virtual environment, or with root privileges to install globally to all your system:

pip install oreka

Check it with:

python -c "from oreka import VirtualEnv"

It shouldn’t raise any error.

How to run the

In the example you can see how to create a virtualenv and install requirements on it.

First, let’s create and activate a testing virtualenv:

mkvirtualenv -p /usr/bin/python2.7 /tmp/testing_oreka/
source /tmp/testing_oreka/bin/activate
(testing_oreka) $

Prepare the pypi package and install it into the venv:

(testing_oreka) $ python install

The same virtualenv should work to prepare the package and to test it.

Check it:

(testing_oreka) $ pip freeze

And run the example:

(testing_oreka) $ python

You should get no error.

The source code at the moment is quite small, so reading it or the tests should not be complicated and should provide some help on how to use the system.


document for ipython document here FIXMEs test again all the package test the sdist register and upload it document all the process open the repo.

  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 0 downloads in the last month