Brian correctly points out that the latter is an entry point.
import os, sys
import pkg_resources
-pkg_resources.require('allmydata-tahoe')
-pkg_resources.require('twisted')
from twisted.python import usage
from allmydata.scripts.common import BasedirMixin, NoDefaultBasedirMixin
import sys
from cStringIO import StringIO
+
+import pkg_resources
+pkg_resources.require('twisted')
from twisted.python import usage
+pkg_resources.require('allmydata-tahoe')
from allmydata.scripts.common import BaseOptions
import debug, create_node, startstop_node, cli, keygen