parameters: ()
docstring: Updating requirements for pip
docstring_summary: Updating requirements for pip
docstring_tokens: Updating requirements for pip
function: def update_req():
      """Updating requirements for pip"""
      # check whether in virtualenv
      if not os.environ.get("VIRTUAL_ENV"):
          _warn("You are not in an Virtualenv, please activate it first")
          return
      local("pip freeze|grep -v distribute > %s/dev_requirements.txt" % CURRENT_PATH)
function_tokens: def update_req ( ) : # check whether in virtualenv if not os . environ . get ( "VIRTUAL_ENV" ) : _warn ( "You are not in an Virtualenv, please activate it first" ) return local ( "pip freeze|grep -v distribute > %s/dev_requirements.txt" % CURRENT_PATH )