{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools"}],"enrichment":{"capability":"Clones an existing Python virtualenv to a new location, updating shebangs, paths, and environment variables to work correctly in the new location without breaking isolation.","skillfed_tags":["virtualenv-management","environment-cloning"],"use_cases":["Back up a working virtualenv before making experimental changes to dependencies.","Migrate a virtualenv from one machine or filesystem to another while preserving all installed packages.","Clone a development environment for testing or sharing with team members.","Duplicate a production-like virtualenv for local debugging without affecting the original."],"what_it_does":"virtualenv-clone is a utility script that copies a Python virtualenv from one location to another while preserving its isolation and functionality. Unlike virtualenv's built-in `--relocatable` flag, which can break site-packages isolation and introduce issues with relative paths, this tool takes a more thorough approach: it copies the entire environment directory, updates hardcoded paths in the activate script, rewrites shebangs in bin scripts to point to the new Python interpreter, and scans sys.path to find and update any absolute references in .pth and .egg-link files that still point to the old location.\n\nThe package is designed for developers who need to duplicate virtualenvs\u2014for backup, migration, or testing purposes\u2014without the pitfalls of the standard relocation mechanism. It has no runtime dependencies and installs with low friction, making it straightforward to add to any workflow. However, the codebase has not seen active development since 2021, so it may not account for changes in newer Python or virtualenv behavior.","worth_installing":"Yes, if you need to copy a virtualenv and the aging codebase is not a concern for your Python version and use case. The package is lightweight, has no dependencies, and solves a real problem that the standard virtualenv tools do not. However, verify compatibility with your specific Python version and virtualenv setup before relying on it in production, given the lack of recent updates."},"id":"virtualenv-clone","links":{"html":"https://skillfed.io/packages/virtualenv-clone","md":"https://skillfed.io/packages/virtualenv-clone.md","pypi":"https://pypi.org/project/virtualenv-clone/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2021-09-07","license_spdx":null,"license_treatment":"permissive","name":"virtualenv-clone","python_support":"supports_current","summary":"script to clone virtualenvs."},"popularity":{"monthly_downloads":1696353,"position":3644,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.7"}
