Skip to content

Commit

Permalink
The latest virtualenv has returned to the old prompt behavior. Techni…
Browse files Browse the repository at this point in the history
…cally we could remove the `--prompt`, but I'm choosing to keep it, sans the parens and space. Fixes #124.
  • Loading branch information
theotherbjorn committed Dec 30, 2021
1 parent 0044b99 commit 5f4bd7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# these are requirements for developing/testing/releasing virtualenvwrapper-win

virtualenv>=15.1.0
virtualenv>=20.11.2
invoke==1.2.0
twine>=1.12.0
readme-renderer>=30.0
Expand Down
4 changes: 2 additions & 2 deletions scripts/mkvirtualenv.bat
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ if exist "%WORKON_HOME%\%venvwrapper.quoteless_envname%" (
if %venvwrapper.debug% equ 1 (
echo ^<DEBUG calling-virtualenv^>
set venvwrapper.
echo. %venvwrapper.virtualenv_executable% %venvwrapper.virtualenv_args% %venvwrapper.envname% --prompt="(%venvwrapper.quoteless_envname%) "
echo. %venvwrapper.virtualenv_executable% %venvwrapper.virtualenv_args% %venvwrapper.envname% --prompt="%venvwrapper.quoteless_envname%"
echo ^</DEBUG^>
if "%venvwrapper.stop%"=="before-virtualenv" goto:cleanup
)
:: call virtualenv
pushd "%WORKON_HOME%"
"%venvwrapper.virtualenv_executable%" %venvwrapper.virtualenv_args% %venvwrapper.envname% --prompt="(%venvwrapper.quoteless_envname%) "
"%venvwrapper.virtualenv_executable%" %venvwrapper.virtualenv_args% %venvwrapper.envname% --prompt="%venvwrapper.quoteless_envname%"
popd
if errorlevel 2 goto:cleanup

Expand Down

0 comments on commit 5f4bd7d

Please sign in to comment.