Skip to content

Instantly share code, notes, and snippets.

@halcyonCorsair
Created January 14, 2012 00:10
Show Gist options
  • Select an option

  • Save halcyonCorsair/1609484 to your computer and use it in GitHub Desktop.

Select an option

Save halcyonCorsair/1609484 to your computer and use it in GitHub Desktop.
sample fabfile
import sys
def printpath():
for path in sys.path:
print "path element: " + path
def test():
config_name = 'testconfig'
__import__(config_name)
from fabric.api import env
env.somevar = 'somevalue'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment