]> granicus.if.org Git - python/commit
bpo-37354: Make Powershell Activate.ps1 script static to allow for signing (GH-14967)
authorDerek Keeler <d3r3kk@users.noreply.github.com>
Mon, 12 Aug 2019 20:06:02 +0000 (13:06 -0700)
committerSteve Dower <steve.dower@python.org>
Mon, 12 Aug 2019 20:06:02 +0000 (13:06 -0700)
commit732775d6be8062e72cf4995d5a9db0170e22c233
treef3a25037248f9a9e10373a61a0454d805b436dff
parent44046fe4fc7f00a6eb855b33e6a3f953cf5233a5
bpo-37354: Make Powershell Activate.ps1 script static to allow for 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
Lib/venv/scripts/common/Activate.ps1
Misc/NEWS.d/next/Library/2019-07-25-10-28-40.bpo-37354.RT3_3H.rst [new file with mode: 0644]