parameters: ()
docstring: Setup a server virtualenv.
docstring_summary: Setup a server virtualenv.
docstring_tokens: Setup a server virtualenv .
function: def create_virtualenv():
      """
      Setup a server virtualenv.
      """
      require('settings', provided_by=['production', 'staging'])
  
      run('virtualenv -p %(SERVER_PYTHON)s %(SERVER_VIRTUALENV_PATH)s' % app_config.__dict__)
      run('source %(SERVER_VIRTUALENV_PATH)s/bin/activate' % app_config.__dict__)
function_tokens: def create_virtualenv ( ) : require ( 'settings' , provided_by = [ 'production' , 'staging' ] ) run ( 'virtualenv -p %(SERVER_PYTHON)s %(SERVER_VIRTUALENV_PATH)s' % app_config . __dict__ ) run ( 'source %(SERVER_VIRTUALENV_PATH)s/bin/activate' % app_config . __dict__ )