On 13.01.2020 16:21, Daniel Haude wrote:
Am 12.01.2020 23:39 schrieb Ivan Pozdeev via Python-Dev:
Virtualenv does create `python-config` shim in Linux.
Python3 doesn't. Definetely. Not on RHEL7 and Debian, that's where I tested it.
You are right, I've got it mixed up. Virtualenv creates `python-config`. Venv
doesn't.
$ pyenv local 3.6.9
$ pip install virtualenv
<...>
$ virtualenv test_vi
Using base prefix '/home/vmuser/.pyenv/versions/3.6.9'
New python executable in /home/vmuser/test_vi/bin/python3.6
Also creating executable in /home/vmuser/test_vi/bin/python
Installing setuptools, pip, wheel...
done.
$ python -m venv test_ve
$ ls test_ve/bin/
activate activate.csh activate.fish easy_install easy_install-3.6 pip pip3
pip3.6 python python3
$ ls test_vi/bin/
activate activate.fish activate_this.py easy_install pip pip3.6
python3 python-config
activate.csh activate.ps1 activate.xsh easy_install-3.6 pip3 python
python3.6 wheel
--
Regards,
Ivan
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/JPSSRLY5HLVRG6FMX53ZU2XIXB6LY5XI/
Code of Conduct: http://python.org/psf/codeofconduct/