Zackery Spytz
c82dda1e08
bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587)
...
Co-Authored-By: Baptiste Darthenay <baptiste.darthenay@gmail.com>
2020-07-28 09:41:57 +01:00
James Abel
e310af9e29
bpo-38344: Fix syntax in activate.bat (GH-16533)
2019-10-07 14:07:19 -07:00
Steve Dower
574b324bdc
bpo-36634: Fixes activate.bat when existing values contain double quotes (GH-15924)
2019-09-11 15:41:21 +01:00
Lorenz Mende
6955d44b41
bpo-34144: Fix of venv acvtivate.bat for win 10 (GH-8321)
...
The script needs to be updated to support win 10/ 1803 chcp.com command (output has trailing dot)
https://bugs.python.org/issue34144
2019-04-10 10:19:16 -07:00
Pablo Galindo
6843ffe453
Revert "bpo-32409: Fix regression in activate.bat on international Windows (GH-10295)" (GH-10403)
...
This reverts commit c64583b6d3
due to multiple buildbot failures when building it.
2018-11-07 23:55:40 +00:00
samstagern
c64583b6d3
bpo-32409: Fix regression in activate.bat on international Windows (GH-10295)
...
Handle Unicode contents on localised Windows systems when activating a
venv. activate.bat currently breaks on German Windows systems, as chcp.com does
not return a plain number as on English systems, but (arbitrarily) appends a dot at the end
(for example "Aktive Codepage: 850." instead of "Active Codepage: 850"). The
dependency to chcp.com is removed and ctypes is used to get, set and restore the
console output code page. The code page for console input is not changed.
We can't use __VENV_PYTHON__ to find python.exe, since it's UTF-8. cmd.exe decodes
the script using the console output code page.
2018-11-07 16:49:14 +00:00
Brett Cannon
d64ee1a5ba
bpo-32718: Make Activate.ps1 for venv cross-platform and available on all platforms (GH-9321)
...
PowerShell Core 6.1 is the cross-platform port of Windows PowerShell. This change updates Activate.ps1 to not make Windows assumptions as well as installing it into the bin/Scripts directory on all operating systems.
Requires PowerShell Core 6.1 for proper readline support once the shell has been activated for the virtual environment.
2018-09-21 15:27:26 -07:00
Steve Dower
6240917b77
bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757)
2018-02-19 17:25:24 -08:00
Zachary Ware
6b6e687766
bpo-27425: Be more explicit in .gitattributes (GH-840)
...
Updates checked-in line endings on several files.
2017-06-10 14:58:42 -05:00
Vinay Sajip
144fff8b90
Closes #29213 : Merged fix from 3.6.
2017-02-02 19:33:43 +00:00
Vinay Sajip
3ac504289a
Fixes #29308 : Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1.
2017-01-27 12:41:27 +00:00
Vinay Sajip
dff9e2535f
Closes #19139 : Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.
2013-10-02 11:36:16 +01:00
Vinay Sajip
9007dd7274
Closes #18479 : Changed venv Activate.ps1 to make deactivate a function, and removed Deactivate.ps1.
2013-07-19 11:03:55 +01:00
Vinay Sajip
61d003a8f1
Issue #18224 : Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
2013-06-30 22:06:52 +01:00
Vinay Sajip
bfc8f26ec2
Issue #17743 : Now use extended syntax of set command in .bat files.
2013-05-20 15:38:12 -07:00
Vinay Sajip
e254751a63
Issue #17744 : Now unset VIRTUAL_ENV environment variable when deactivating.
2013-05-20 15:28:52 -07:00
Vinay Sajip
e554f8b858
Closes #15361 : Corrected venv prompt in PowerShell activation script.
2012-07-15 21:58:13 +01:00
Vinay Sajip
6aed5fe532
Closes #15157 : pydoc script added to venvs.
2012-06-24 10:35:40 +01:00
Éric Araujo
859aad6a36
Remove packaging from the standard library.
...
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready. See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Vinay Sajip
ecdc076695
Removed pysetup3.exe executable.
2012-05-29 11:12:43 +01:00
Vinay Sajip
7ded1f0f69
Implemented PEP 405 (Python virtual environments).
2012-05-26 03:45:29 +01:00