Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
virtualenv cloning script.


[![Build Status](https://travis-ci.org/edwardgeorge/virtualenv-clone.svg?branch=master)](https://travis-ci.org/edwardgeorge/virtualenv-clone)

A script for cloning a non-relocatable virtualenv.


```

python -m clonevirtualenv /path/to/ /path/to/venv

```

Virtualenv provides a way to make virtualenv's relocatable which could then be
copied as we wanted. However making a virtualenv relocatable this way breaks
the no-site-packages isolation of the virtualenv as well as other aspects that
Expand Down Expand Up @@ -32,4 +40,6 @@ It performs the following:
- finally it double checks `sys.path` again and will fail if there are still
paths from the old environment present.

This script clones virtual enviroments, it does not clone your python installation into a virtual environment.

NOTE: This script requires Python 2.7 or 3.4+