Created
October 4, 2019 12:55
-
-
Save Saigesp/e46b31bc5224d74ea6e7adb16c28254f to your computer and use it in GitHub Desktop.
Script with useful actions to work with virtualenvwrapper on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set "VIRTUAL_ENV=C:\Users\YOURUSER\Envs\YOURENVNAME" | |
:: Set variables | |
set "ENVIRONMENT=develop" | |
:: Change directory | |
cd C:\Users\YOURPROJECTPATH | |
:: Remove __pycache__ folders | |
for /d /r ".\API" %%a in (__pycache__) do if exist "%%a" rmdir /s /q "%%a" | |
:: Remove *.pyc files | |
del /s /q *.pyc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment