Add an option to propagate `--always-copy` to `virtualenv`
See original GitHub issueSome packages (sip
from PyQt in my case), are installing some header files in the virtualenv, currently the include/
folder is symlinked to the system non-nt
one, and so non writable.
The virtualenv
script offers the --always-copy
option (active by default on nt
systems) to copy all the files.
The pew
script by default forwards all the unknown arguments to virtualenv
.
I have the local patch working because I’d like to use pipenv
in my project.
NOTE: venv
has a different argument, --symlinks
/ --copies
, with the same use, but pew
currently uses virtualenv
.
- add
--always-copy
option topipenv install
- add
PIPENV_ALWAYS_COPY
env var - add tests
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
virtualenv - Read the Docs
virtualenv is a tool to create isolated Python environments. The basic problem being addressed is one of dependencies and versions, and indirectly ...
Read more >venv — Creation of virtual environments — Python 3.11.1 ...
A virtual environment is created on top of an existing Python installation, known as the virtual environment's “base” Python, and may optionally be...
Read more >Reference Guide — virtualenv 16.7.11 documentation
virtualenv [OPTIONS] ENV_DIR. Where ENV_DIR is an absolute or relative path to a directory to create the virtual environment in.
Read more >Python Tools for Managing Virtual Environments
This article describes and demonstrates a few. How to use this guide; venv. Activate the virtual environment; Execute Python scripts ...
Read more >The error was importerror no module named openssl - Impugno
Feb 12, 2014 · Virtualenv: Breakage in --always-copy - fails with: ... SSL Module Error After Install Python if we can't import it,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to avoid some more search:
now does the trick.
If someone struggling with this nowadays, I found the bug in newer version of
virtualenv
. You should use alias instead ofVIRTUALENV_ALWAYS_COPY
:More information about flags here: https://virtualenv.pypa.io/en/latest/cli_interface.html#environment-variables
Virtualenv issue: https://github.com/pypa/virtualenv/issues/1761