[tahoe-dev] [tahoe-lafs] #1220: build/install should be able to refrain from getting dependencies

tahoe-lafs trac at tahoe-lafs.org
Sat Oct 30 20:36:57 UTC 2010


#1220: build/install should be able to refrain from getting dependencies
---------------------------+------------------------------------------------
     Reporter:  gdt        |       Owner:  gdt       
         Type:  defect     |      Status:  new       
     Priority:  major      |   Milestone:  undecided 
    Component:  packaging  |     Version:  1.8.0     
   Resolution:             |    Keywords:  setuptools
Launchpad Bug:             |  
---------------------------+------------------------------------------------

Comment (by zooko):

 Well, can you (either of you) show me a script that is used to package
 Python applications for your system? I imagine that you could do something
 like this:

 {{{
 tar xf $SOURCE_DISTRIBUTION
 cd $TOP_LEVEL_DIR
 python setup.py install --prefix=$TARGETDIR --single-version-externally-
 managed --record=list_of_installed_files.txt
 }}}

 Then collect all the files that got written into {{{$TARGETDIR}}} and put
 them into your newly created package. This should work with any
 setuptools-built Python package.

 But, if that's not how you do it, then show me how you do it and I'll see
 if I can help make it so that the setuptools automatic resolution of
 dependencies gets out of your way.

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


More information about the tahoe-dev mailing list