A bin folder, holding helpfull scripts and commands
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314
  1. if [ ! -e venv ];then
  2. virtualenv venv
  3. source venv/bin/activate
  4. if pip -V | grep `pwd -P`; then
  5. pip install --upgrade pip
  6. pip_upgrade_all
  7. find . -name requirements.txt | xargs -L 1 pip install -r
  8. deactivate
  9. else
  10. echo Could not activate venv!
  11. fi
  12. else
  13. echo Virtualenv already exists!
  14. fi