Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
dj-kaos / scripts / ppm
Size: Mime:
#!/usr/bin/env bash

if [[ -z $1 ]]; then
  if [[ -f "requirements.dev.txt" ]]; then
    pip install -r requirements.dev.txt
  elif [[ -f "requirements/local.txt" ]]; then
    pip install -r requirements/local.txt
  elif [[ -f "requirements.txt" ]]; then
    pip install -r requirements.txt
  else
    echo "No arguments provided and no requirements file found."
  fi
else
  case "$1" in
    i|install|add)
      shift
      pip install "$@"
      ;;
    *)
      echo "Invalid command: $1"
      ;;
  esac
fi