title: Stand-alone fabfile for fabric?
body: <p>Is it possible to make the fabfile stand-alone?<br>
  I'm not very fond of running the external tool 'fab'. If I manage to get the fabfile standalone I can run the file from within the (Eclipse / Pydev) IDE, easily debug it, use project configurations and paths etc.<br>
  Why doesn't this work:</p>
  
  <pre><code>from fabric.api import run
  
  def host_type():
      run('uname -s')
  
  if __name__ == '__main__':
      host_type()    
  </code></pre>