setup: remove pkg_resources.require() from create_node.py and add it to runner.py

Brian correctly points out that the latter is an entry point.
This commit is contained in:
Zooko O'Whielacronx 2008-11-12 15:25:03 -07:00
parent c117ef3e0d
commit 74ce1cdc00
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,6 @@
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

View File

@ -1,8 +1,12 @@
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