-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Add --prompt option to venv #67018
Comments
virtualenv tool allows to set alternative prompt prefix, Python's venv module should allow this too. Basically, this allows one to run: python -mvenv --prompt Quux myenv And see "(Quux)" as a prefix after environment activation (instead of the "myenv" in this case). |
Based on the patch of Łukasz, I have updated it to the last revision of Python 3.5a3 (today, 16th April) stephane@sg1 ~/p/c/bin> ./python3.5 --version I tested the patch, this one works fine and the prompt is really changed if we specify it on the command line of -m venv |
Thanks! The patch looks good to me. Some review comments: http://bugs.python.org/review/22829/ |
ok, I will propose an update with the comments of the review. |
oops, forgotten to provide the patch :/ |
Hi @berker.peksag Please, could you review this patch, I have followed your remarks and adjust the patch. Thank you |
New changeset 6703847eeb31 by Vinay Sajip in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: