On Wednesday, March 21, 2012 12:33:39 PM UTC-7, Snark wrote:
>
> Le mercredi 21 mars, William Stein a écrit:
> > On Wed, Mar 21, 2012 at 2:16 PM, Julien Puydt wrote:
> > > Hi,
> > >
> > > how can I know which spkg provided a file in sage?
> > >
> > > Let's say for example (from sage-4.8) :
> > > ./local/lib/python2.6/site-packages/Cython/Includes/numpy.pxd
> > 
> > This is provided by the cython spkg.
>
> Thanks, but that was an example ; my question was more general : is
> there some way to know? On my system, I can for example do "dpkg
> -S /path/to/some/file/I/am/wondering/about" and get the name of the
> culprit package (in most cases...).
>
If you're just doing this for one or two files, if all else fails, you can 
compare timestamps for the directories containing the files and timestamps 
for files in spkg/installed/.  That should at least help to narrow it down.

-- 
John

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to