code: def setproject_cmd(argv):
      
      args = dict(enumerate(argv))
      project = os.path.abspath(args.get(1, '.'))
      env = args.get(0, os.environ.get('VIRTUAL_ENV'))
      if not env:
          sys.exit('pew setproject [virtualenv] [project_path]')
      if not (workon_home / env).exists():
          sys.exit("Environment '%s' doesn't exist." % env)
      if not os.path.isdir(project):
          sys.exit('pew setproject: %s does not exist' % project)
      setvirtualenvproject(env, project)
docs: Given a virtualenv directory and a project directory, set the \
      virtualenv up to be associated with the project.