Package: python3-virtualenv-clone (0.5.4-bp156.3.1)
Script to clone virtualenvs
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.
Package information
- Homepage
- [https://github.com/edwardgeorge/virtualenv-clone]
- License
- MIT
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [python-virtualenv-clone]
- Software project
- [virtualenv-clone]
Versions and downloads for python3-virtualenv-clone
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.5.4-bp156.3.1leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 22 KiB | 33 KiB | list of files | python3-virtualenv-clone-0.5.4-bp156.3.1.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for python3-virtualenv-clone
dep: /bin/sh
Package not available
dep: /bin/sh
Package not available
dep: /usr/bin/python3
Package not available
dep: python(abi) (= 3.6)
Package not available
dep: [python3-virtualenv]
Virtual Python Environment builder
dep: [update-alternatives]
Maintain symbolic links determining default commands
dep: [update-alternatives]
Maintain symbolic links determining default commands
Package file paths (17)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /etc/alternatives/virtualenv-clone
- /usr/bin/virtualenv-clone
- /usr/bin/virtualenv-clone-3.6
- /usr/lib/python3.6/site-packages/clonevirtualenv.py
- /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/virtualenv_clone-0.5.4-py3.6.egg-info
- /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/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/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
Field source: openSUSE Leap 15.6 OSS
