#717 closed defect

unnecessary rebuild of dependencies when tahoe-deps/ is present — at Initial Version

Reported by: warner Owned by: somebody
Priority: major Milestone: 1.11.0
Component: packaging Version: 1.4.1
Keywords: setuptools install Cc: nicolas.pouillard@…
Launchpad Bug:

Description

Using a trunk 9a02f4a1043d6288 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/ .

Change History (0)

Note: See TracTickets for help on using tickets.