summaryrefslogtreecommitdiffstats
path: root/Lib/venv/scripts/common
Commit message (Collapse)AuthorAgeFilesLines
* [3.8] venv: Update Aspen URL in 'activate' script comment (GH-21797)Frank Dana2020-08-191-1/+1
| | | | | | | | | | | | | A comment in the venv `activate` script (as well as `activate.csh` and `activate.fish`) referencing Aspen magic directories lists a "further information" URL for Aspen at the zetadev.com website. zetadev.com changed ownership in 2019, and now redirects to a server in China with an expired security certificate. Out of an abundance of caution, while not changing the _code_ for the activate scripts, this PR updates the URL in those comments to reference Aspen's new documentation home at https://aspen.io/. No issue created, as I suspect this falls within the definition of a "trivial" change. Please let me know if I'm wrong about that, and I'll open the necessary issue(s). While filed against the 3.8 branch, strictly speaking this is not a backported PR. The comment in question was entirely removed from the script between Python 3.8 and 3.9. (IMHO this _should_ probably be backported to 3.7 and 3.6, as well. I'll happily file those PRs if needed.) Automerge-Triggered-By: @vsajip
* bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383)Miss Islington (bot)2020-05-251-1/+1
| | | | | (cherry picked from commit ef16958d17e83723334a51428f410f726d6492a7) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131)Miss Islington (bot)2020-04-021-4/+15
| | | | | (cherry picked from commit 45217af29c7f380089af17beb48a5ea0560bbb9d) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com>
* bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) (GH-18359)Miss Islington (bot)2020-02-051-1/+0
| | | | | (cherry picked from commit 787b6d548c250f36df6d3f3179f60d754c8aa5e3) Co-authored-by: schwarzichet <15522755+schwarzichet@users.noreply.github.com>
* bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15973)Miss Islington (bot)2019-09-111-1/+1
| | | | | | | | | | | | | Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning: ``` $ python3 -m venv test $ source test/bin/activate (test) $ deactivate -bash: $1: unbound variable ``` (cherry picked from commit 5209e586b7cac9a43b2c44349a26b1b0af06ead3) Co-authored-by: Daniel Abrahamsson <hamsson@gmail.com>
* [3.8] bpo-37354: Make Powershell Activate.ps1 script static to allow for ↵Miss Islington (bot)2019-08-121-28/+203
| | | | | | | | | | | | | signing (GH-14967) - Remove use of replacement text in the script - Make use of the pyvenv.cfg file for prompt value. - Add parameters to allow more flexibility - Make use of the current path, and assumptions about where env puts things, to compensate - Make the script a bit more 'idiomatic' Powershell - Add script documentation (Get-Help .\.venv\Scripts\Activate.ps1 shows PS help page now (cherry picked from commit 732775d6be8062e72cf4995d5a9db0170e22c233) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com>
* bpo-32718: Make Activate.ps1 for venv cross-platform and available on all ↵Brett Cannon2018-09-211-0/+56
| | | | | | | 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.
* bpo-25351: avoid activate failure on strict shells (GH-3804)Sorin Sbarnea2017-09-291-13/+13
|
* Issue #22343: Made bash activate script available on Windows.Vinay Sajip2017-01-121-0/+76