Skip to content

Add support for in-place relocation #25

@ghost

Description

Virtualenv-clone could provide a command-line option to relocate a virtualenv's pathing (/bin shebangs and symlinks) without copying the virtualenv. This would be useful when preparing a virtualenv in a fake root directory for .rpm/.deb generation. A system package build process would create the virtualenv, install all dependencies into it, relocate the paths to exclude the fake root's prefix, and package up the fake root directory.

Creating a virtualenv in a chroot or container under a fake root directory works, but often isn't an option due to build pipelines' limited user accounts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions