fabric调用代码分析

  which fab在/usr/local/bin下

1 #!/usr/bin/python2.7
  2 # EASY-INSTALL-ENTRY-SCRIPT: 'Fabric==1.5.1','console_scripts','fab'
  3 __requires__ = 'Fabric==1.5.1'
  4 import sys
  5 from pkg_resources import load_entry_point
  6
  7 if __name__ == '__main__':
  8     sys.exit(
  9         load_entry_point('Fabric==1.5.1', 'console_scripts', 'fab')()
 10     )

原文地址:https://www.cnblogs.com/lexus/p/2872559.html