[tahoe-dev] [tahoe-lafs] #717: unnecessary rebuild of dependencies when tahoe-deps/ is present

tahoe-lafs trac at allmydata.org
Thu May 28 18:15:10 PDT 2009


#717: unnecessary rebuild of dependencies when tahoe-deps/ is present
-----------------------+----------------------------------------------------
 Reporter:  warner     |           Owner:  somebody 
     Type:  defect     |          Status:  new      
 Priority:  major      |       Milestone:  undecided
Component:  packaging  |         Version:  1.4.1    
 Keywords:             |   Launchpad_bug:           
-----------------------+----------------------------------------------------
 Using a trunk [3890] tree, on my debian/sid box, performing "python
 setup.py build" with the tahoe-deps tarball unpacked in the parent
 directory causes several dependency libraries to be built and installed in
 support/lib/python2.5/site-packages even though those libraries are
 already present, usable, and visible to {{{pkg_resources.requires}}} in
 the standard PYTHONPATH /usr/lib/python2.5/site-packages directory.

 The libraries that are unnecessarily rebuilt are:

  * foolscap-0.4.1
  * twisted-8.2.0
  * simplejson-2.0.9

 Removing ../tahoe-deps, erasing support/lib, and re-running "python
 setup.py build" correctly skips the build of these libraries, resulting in
 a support/lib that only contains setuptools-0.6c12dev and the allmydata-
 tahoe.egg-link file (well, and the usual setuptools noise: setup.py,
 setuptools.pth, and easy-install.pth).

 Something in setuptools is buggy: having ../tahoe-deps available should
 not influence the decision to install a library or not.

 This needs to be added to the setuptools bugtracker at
 http://bugs.python.org/setuptools/ .

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/717>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list