Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python2-virtualenv-clone-0.5.4-bp153.1.16 RPM for noarch

From OpenSuSE Leap 15.3 for noarch

Name: python2-virtualenv-clone Distribution: SUSE Linux Enterprise 15 SP3
Version: 0.5.4 Vendor: openSUSE
Release: bp153.1.16 Build date: Sat Mar 6 03:59:02 2021
Group: Development/Languages/Python Build host: lamb62
Size: 38442 Source RPM: python-virtualenv-clone-0.5.4-bp153.1.16.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/edwardgeorge/virtualenv-clone
Summary: 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.

Provides

Requires

License

MIT

Changelog

* Thu Apr 16 2020 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 0.5.4:
    * Added support for Python 3.8.
* Fri Apr 12 2019 Marketa Calabkova <mcalabkova@suse.com>
  - update to version 0.5.3
    0.5.?
    * Fixed incorrect Python version value.
    * Added support for Python 3.7.
    0.4.0
    * Dropped support for EOL Python versions that no longer
      receive any updates from the core CPython team.
    0.3.0
    * Added support for Python 3.
    * Fixed a bug with writing unicode in .pth files incorrectly.
    * Fixed support for paths involving symbolic links.
* Tue Dec 04 2018 Matej Cepl <mcepl@suse.com>
  - Remove superfluous devel dependency for noarch package
* Wed Apr 19 2017 toddrme2178@gmail.com
  - Implement single-spec version.
* Mon Feb 29 2016 someuniquename@gmail.com
  - Update to version 2.6
    * Fix symlinks that point to the old virtual env
* Tue Dec 09 2014 toddrme2178@gmail.com
  - Fix update-alternatives as requested.
* Mon Dec 01 2014 toddrme2178@gmail.com
  - Update to 2.5
    * Speed clone_virtualenv up slightly by removing duplicate calls
      to spawn process
    * Improve windows compatibility
    * Ship LICENSE along with the source distribution to pypi.
    * Added verbose mode with logging.
    * Bugfixes
  - Implement update alternatives to allow co-install with python 3
    version.
* Thu Oct 24 2013 speilicke@suse.com
  - Require python-setuptools instead of distribute (upstreams merged)
* Thu Aug 02 2012 alexandre@exatati.com.br
  - Initial package (0.2.4) for openSUSE.

Files

/etc/alternatives/virtualenv-clone
/usr/bin/virtualenv-clone
/usr/bin/virtualenv-clone-2.7
/usr/lib/python2.7/site-packages/clonevirtualenv.py
/usr/lib/python2.7/site-packages/clonevirtualenv.pyc
/usr/lib/python2.7/site-packages/clonevirtualenv.pyo
/usr/lib/python2.7/site-packages/virtualenv_clone-0.5.4-py2.7.egg-info
/usr/lib/python2.7/site-packages/virtualenv_clone-0.5.4-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/virtualenv_clone-0.5.4-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/virtualenv_clone-0.5.4-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/virtualenv_clone-0.5.4-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/virtualenv_clone-0.5.4-py2.7.egg-info/top_level.txt
/usr/share/doc/packages/python2-virtualenv-clone
/usr/share/doc/packages/python2-virtualenv-clone/README.md
/usr/share/licenses/python2-virtualenv-clone
/usr/share/licenses/python2-virtualenv-clone/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 14:50:04 2024