[tahoe-lafs-trac-stream] [tahoe-lafs] #1539: stop putting pkg_resources.require() into .tac files
tahoe-lafs
trac at tahoe-lafs.org
Wed May 23 15:43:43 UTC 2012
#1539: stop putting pkg_resources.require() into .tac files
-------------------------+-------------------------------------------------
Reporter: zooko | Owner: davidsarah
Type: | Status: new
enhancement | Milestone: 1.10.0
Priority: major | Version: 1.9.0a1
Component: code- | Keywords: forward-compatibility appname tac
nodeadmin | packaging setuptools review-needed
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Changes (by davidsarah):
* keywords: forward-compatibility appname tac packaging setuptools needs-
review => forward-compatibility appname tac packaging setuptools
review-needed
* status: assigned => new
Old description:
> Per comment:14:ticket:1159:
>
> One thing that we can do right away to ease this is change create-node
> to stop putting the call to pkg_resources.require() in the tahoe-
> client.tac.
New description:
Per comment:1:ticket:1159:
One thing that we can do right away to ease this is change create-node to
stop putting the call to pkg_resources.require() in the tahoe-client.tac.
--
Comment:
Will review.
Note that {{{import pkg_resources}}} has side effects on {{{sys.path}}}
even if {{{pkg_resources.require()}}} is not used; so, removing the import
might have an additional effect. I can't immediately remember whether
that's desirable or not; need to page this stuff back into my brain.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1539#comment:6>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list