[tahoe-lafs-trac-stream] [tahoe-lafs] #1539: stop putting pkg_resources.require() into .tac files

tahoe-lafs trac at tahoe-lafs.org
Fri Sep 23 20:06:12 PDT 2011


#1539: stop putting pkg_resources.require() into .tac files
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  davidsarah
         Type:           |     Status:  assigned
  enhancement            |  Milestone:  1.10.0
     Priority:  major    |    Version:  1.9.0a1
    Component:  code-    |   Keywords:  forward-compatibility appname tac
  nodeadmin              |  packaging setuptools
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 There are two calls to {{{pkg_resources.require()}}} in the .tac files
 [http://tahoe-lafs.org/trac/tahoe-
 lafs/browser/trunk/src/allmydata/scripts/create_node.py?annotate=blame&rev=5133#L43
 that we currently produce]. According to [19700101235005-92b7f-
 0c2b3c010354bb97bbcba2d207819b56515aa7cb] the patch that added them, this
 was necessary to make them importable if they were installed in
 setuptools's "multiversion mode". I don't think we need to support that.
 We experimented with it (see #530) and removing multiversion mode from our
 setup.py did not break any of our unit tests, not even test-with-fake-pkg
 or test-with-fake-dists.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1539#comment:2>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list