mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 03:44:23 +00:00
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:
parent
c117ef3e0d
commit
74ce1cdc00
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user