-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting install_scripts in distutils.cfg results in a broken virtualenv install. #1635
Comments
I will note that this works as expected in 16.7.9 |
As from #1632 i'll re-paste here: Reporting the same bug here on MacOS, only I'm highlighting the old vs new-unexpected behavior in a (hopefully) easy reproduction case:
Now at this point I expect the python and pip "binaries" to be under
This behavior change messes with tools like If this is un-related, I can file a separate bug, but it seems suspect that we're getting hung up on the same issues relating to "prefixes" here. Attached is my debug output of |
With Now, as far as a workaround we'can provide on our side is maybe generate a cc @brettcannon for your awareness as the venv module maintainer (AFAIK) |
Technically @vsajip is the maintainer of venv, but I have been contributing lately to it. 😄 |
Due to a need to have multiple, non-interfering python installs running locally on a machine. We have a custom distutils.cfg (as per https://docs.python.org/3.6/install/index.html?highlight=distutils%20cfg#distutils-configuration-files ) that has an
install_scripts
flag set in the mentioned system path.Example
distutils.cfg
for macOS based system:Creating a virtualenv using the above configuration and a python install containing that config at
prefix/lib/pythonver/distutils/distutils.cfg
results in a virutalenv directory with the structure:Note that binaries are in
usr/local/opt/python@3.6.8/bin
instead ofbin/
-vvv --with-traceback
flags includedpip list
of the environment where virtualenv is installed into if not using the zipappThe text was updated successfully, but these errors were encountered: