[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 16:24:57 UTC 2012


#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 review-needed
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 According to
 [1aed9fcfa1c455380fffa142210fcea41fbb497e/git]≈[19700101235005-92b7f-
 0c2b3c010354bb97bbcba2d207819b56515aa7cb], I added that so that it would
 find an allmydata and twisted package tht had been installed in "multi-
 version mode". I guess that mode of install offered by setuptools doesn't
 put the installed egg into the sys.path at *all* until a
 {{{pkg_resources.require()}}} with a matching version number has been
 invoked. We experimented with it at one point as a way to work around
 other problems, but I believe we gave up on using it.

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


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