SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python3-virtualenv-clone rpm build for : OpenSuSE. For other distributions click python3-virtualenv-clone.

Name : python3-virtualenv-clone
Version : 0.5.4 Vendor : openSUSE
Release : bp154.1.1 Date : 2021-07-15 15:38:57
Group : Development/Languages/Python Source RPM : python-virtualenv-clone-0.5.4-bp154.1.1.src.rpm
Size : 0.03 MB
Packager : https://bugs_opensuse_org
Summary : Script to clone virtualenvs
Description :
virtualenv cloning script.

A script for cloning a non-relocatable virtualenv.

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
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.

It performs the following:

- copies sys.argv[1] dir to sys.argv[2]
- updates the hardcoded VIRTUAL_ENV variable in the activate script to the
new repo location. (--relocatable doesn\'t touch this)
- updates the shebangs of the various scripts in bin to the new python if
they pointed to the old python. (version numbering is retained.)

it can also change \'/usr/bin/env python\' shebangs to be absolute too,
though this functionality is not exposed at present.

- checks sys.path of the cloned virtualenv and if any of the paths are from
the old environment it finds any .pth or .egg-link files within sys.path
located in the new environment and makes sure any absolute paths to the
old environment are updated to the new environment.

- finally it double checks sys.path again and will fail if there are still
paths from the old environment present.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15-SP4/step/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  python3-virtualenv-clone-0.5.4-bp154.1.1.noarch.rpm
ftp.icm.edu.pl  python3-virtualenv-clone-0.5.4-bp154.1.1.noarch.rpm
     

Provides :
python3-virtualenv-clone

Requires :
/bin/sh
/bin/sh
/usr/bin/python3
python(abi) = 3.6
python3-virtualenv
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
update-alternatives
update-alternatives


Content of RPM :
/etc/alternatives/virtualenv-clone
/usr/bin/virtualenv-clone
/usr/bin/virtualenv-clone-3.6
/usr/lib/python3.6/site-packages/__pycache__
/usr/lib/python3.6/site-packages/__pycache__/clonevirtualenv.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/clonevirtualenv.cpython-36.pyc
/usr/lib/python3.6/site-packages/clonevirtualenv.py
/usr/lib/python3.6/site-packages/virtualenv_clone-0.5.4-py3.6.egg-info
/usr/lib/python3.6/site-packages/virtualenv_clone-0.5.4-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/virtualenv_clone-0.5.4-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/virtualenv_clone-0.5.4-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/virtualenv_clone-0.5.4-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/virtualenv_clone-0.5.4-py3.6.egg-info/top_level.txt
/usr/share/doc/packages/python3-virtualenv-clone
/usr/share/doc/packages/python3-virtualenv-clone/README.md
/usr/share/licenses/python3-virtualenv-clone
/usr/share/licenses/python3-virtualenv-clone/LICENSE

 
ICM