virtualenv-clone-3

script for cloning a non-relocatable virtualenv (Python3)

Install

All systems
curl cmd.cat/virtualenv-clone-3.sh
Debian Debian
apt-get install python3-virtualenv-clone
Ubuntu
apt-get install python3-virtualenv-clone
image/svg+xml Kali Linux
apt-get install python3-virtualenv-clone
Fedora
dnf install python3-virtualenv-clone
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-virtualenv-clone

python3-virtualenv-clone

script for cloning a non-relocatable virtualenv (Python3)

Virtualenv provides a way to make virtualenv's relocatable which could then be copied as wanted. However making a virtualenv relocatable this way breaks the no-site-packages isolation of the virtualenv as well as other aspects that come with relative paths and '/usr/bin/env' shebangs that may be undesirable. Also, the .pth and .egg-link rewriting doesn't seem to work as intended. This attempts to overcome these issues and provide a way to easily clone an existing virtualenv. This is the Python3 package.