[tahoe-dev] [tahoe-lafs] #709: hard to run against alternate dependencies, i.e. trunk version of Foolscap

tahoe-lafs trac at allmydata.org
Mon May 18 15:35:23 PDT 2009


#709: hard to run against alternate dependencies, i.e. trunk version of Foolscap
-----------------------+----------------------------------------------------
 Reporter:  warner     |           Owner:  somebody 
     Type:  defect     |          Status:  new      
 Priority:  major      |       Milestone:  undecided
Component:  packaging  |         Version:  1.4.1    
 Keywords:             |   Launchpad_bug:           
-----------------------+----------------------------------------------------

Comment(by warner):

 Yup, by doing {{{python setup.py build}}} in the Foolscap tree, it created
 a {{{foolscap.egg-info}}} directory there, after which
 {{{PYTHONPATH=~/foolscap/trunk make quicktest}}} started working again
 (without commenting out the {{{pkg_resources.require}}} calls).

 Also, {{{PYTHONPATH=~/tahoe/trunk/support/lib/python2.5/site-packages
 python setup.py develop --prefix ~/tahoe/trunk/support}}} put a
 {{{foolscap.egg-link}}} file in the tahoe lib directory, from which tahoe
 was able to find the foolscap code.

 (I'm not used to doing {{{python setup.py build}}} with foolscap, because
 Foolscap doesn't need it for anything).

 This works well enough for now. I look forward to seeing the "respect
 PYTHONPATH for .eggs" fix get into whatever packaging system we use. I
 guess I'll leave this ticket open until that happens. Thanks!

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


More information about the tahoe-dev mailing list