diff --git a/src/allmydata/scripts/create_node.py b/src/allmydata/scripts/create_node.py index 7e9dcf7..f1796b0 100644 --- a/src/allmydata/scripts/create_node.py +++ b/src/allmydata/scripts/create_node.py @@ -43,9 +43,6 @@ class CreateIntroducerOptions(BasedirMixin, BaseOptions): client_tac = """ # -*- python -*- -import pkg_resources -pkg_resources.require('%s') -pkg_resources.require('twisted') from allmydata import client from twisted.application import service @@ -53,14 +50,11 @@ c = client.Client() application = service.Application("allmydata_client") c.setServiceParent(application) -""" % (allmydata.__appname__,) +""" introducer_tac = """ # -*- python -*- -import pkg_resources -pkg_resources.require('%s') -pkg_resources.require('twisted') from allmydata import introducer from twisted.application import service @@ -68,7 +62,7 @@ c = introducer.IntroducerNode() application = service.Application("allmydata_introducer") c.setServiceParent(application) -""" % (allmydata.__appname__,) +""" def write_node_config(c, config): # this is shared between clients and introducers