Skip to content

Conversation

@isa-murat
Copy link

Summary

This pull request introduces PowerShell support for the virtualenvwrapper functionality, allowing Windows users to manage their virtual environments using familiar commands (mkvirtualenv, workon, rmvirtualenv) in PowerShell.

Changes Made

  • Added virtualenvwrapper.ps1 script for PowerShell support
  • Updated README.rst with installation and usage instructions

Why?

Currently, the project supports only Unix-like shells. Adding PowerShell compatibility improves cross-platform usability and makes it easier for Windows developers to adopt the tool.

Notes

This implementation intentionally does not redefine Python’s built-in deactivate command. Users can still use the standard deactivate provided by venv.

@thebjorn
Copy link
Collaborator

Hi @isa-murat , this is certainly interesting as a proof-of-concept, but as it currently stands it is very incomplete (run virtualenvwrapper in a dos-shell for all the commands). It also doesn't have any tests... (see the tests/ directory for the current test-suite). There is also the issue of maintenance. Dos-scripts are particularly horrible to debug and few people are interested in maintaining a dos/bat code base. I don't use powershell so... Perhaps this is better suited as a separate package? If you think this is a better idea (and you need help setting it up) I'll be more than happy to help.

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.

2 participants