Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. set "VIRTUAL_ENV=C:\Users\YOURUSER\Envs\YOURENVNAME"
  2.  
  3. :: Set variables
  4. set "ENVIRONMENT=develop"
  5.  
  6. :: Change directory
  7. cd C:\Users\YOURPROJECTPATH
  8.  
  9. :: Remove __pycache__ folders
  10. for /d /r ".\API" %%a in (__pycache__) do if exist "%%a" rmdir /s /q "%%a"
  11.  
  12. :: Remove *.pyc files
  13. del /s /q *.pyc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement