resolved confict

This commit is contained in:
tpltnt 2017-04-11 11:04:50 +02:00
commit ad1b7a3dc3
4 changed files with 9 additions and 7 deletions

View File

@ -39,6 +39,7 @@ pre-release code), you should create a virtualenv and install into that:
* ``cd tahoe-lafs`` * ``cd tahoe-lafs``
* ``virtualenv venv`` * ``virtualenv venv``
* ``venv/bin/pip install appdirs packaging six`` * ``venv/bin/pip install appdirs packaging six``
* ``virtualenv --python=python2.7 venv``
* ``venv/bin/pip install --editable .`` * ``venv/bin/pip install --editable .``
* ``venv/bin/tahoe --version`` * ``venv/bin/tahoe --version``

View File

@ -276,8 +276,8 @@ setup(name="tahoe-lafs", # also set in __init__.py
"tox", "tox",
"foolscap[tor] >= 0.12.5", "foolscap[tor] >= 0.12.5",
"txtorcon >= 0.17.0", # in case pip's resolver doesn't work "txtorcon >= 0.17.0", # in case pip's resolver doesn't work
"foolscap[i2p]", "foolscap[i2p] >= 0.12.6",
"txi2p >= 0.3.1", # in case pip's resolver doesn't work "txi2p >= 0.3.2", # in case pip's resolver doesn't work
"pytest", "pytest",
"pytest-twisted", "pytest-twisted",
], ],
@ -286,8 +286,8 @@ setup(name="tahoe-lafs", # also set in __init__.py
"txtorcon >= 0.17.0", # in case pip's resolver doesn't work "txtorcon >= 0.17.0", # in case pip's resolver doesn't work
], ],
"i2p": [ "i2p": [
"foolscap[i2p]", "foolscap[i2p] >= 0.12.6",
"txi2p >= 0.3.1", # in case pip's resolver doesn't work "txi2p >= 0.3.2", # in case pip's resolver doesn't work
], ],
}, },
package_data={"allmydata.web": ["*.xhtml", package_data={"allmydata.web": ["*.xhtml",

View File

@ -108,7 +108,7 @@ class MagicFolder(service.MultiService):
return self.uploader.start_monitoring() return self.uploader.start_monitoring()
def stopService(self): def stopService(self):
return self.finish() return defer.gatherResults([service.MultiService.stopService(self), self.finish()])
def ready(self): def ready(self):
"""ready is used to signal us to start """ready is used to signal us to start

View File

@ -350,11 +350,12 @@ def create_node(config):
write_client_config(c, config) write_client_config(c, config)
print >>out, "Node created in %s" % quote_local_unicode_path(basedir) print >>out, "Node created in %s" % quote_local_unicode_path(basedir)
tahoe_cfg = quote_local_unicode_path(os.path.join(basedir, "tahoe.cfg"))
if not config.get("introducer", ""): if not config.get("introducer", ""):
print >>out, " Please set [client]introducer.furl= in tahoe.cfg!" print >>out, " Please set [client]introducer.furl= in %s!" % tahoe_cfg
print >>out, " The node cannot connect to a grid without it." print >>out, " The node cannot connect to a grid without it."
if not config.get("nickname", ""): if not config.get("nickname", ""):
print >>out, " Please set [node]nickname= in tahoe.cfg" print >>out, " Please set [node]nickname= in %s" % tahoe_cfg
defer.returnValue(0) defer.returnValue(0)
def create_client(config): def create_client(config):