Skip to content
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

bpo-32718: Make Activate.ps1 for venv cross-platform and available on all platforms #9321

Merged
merged 4 commits into from
Sep 21, 2018

Conversation

brettcannon
Copy link
Member

@brettcannon brettcannon commented Sep 14, 2018

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.

Copy link
Contributor

@d3r3kk d3r3kk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@d3r3kk
Copy link
Contributor

d3r3kk commented Sep 19, 2018

BTW: I tested the script out on my Ubuntu 18.04 machine and it works like a charm.

@brettcannon brettcannon changed the title bpo-32718: Make Activate.ps1 cross-platform and available on all platforms bpo-32718: Make Activate.ps1 for venv cross-platform and available on all platforms Sep 21, 2018
@miss-islington
Copy link
Contributor

@brettcannon: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit d64ee1a into python:master Sep 21, 2018
@brettcannon brettcannon deleted the powershell-core branch September 29, 2018 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants