Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9758 > unrolled thread

Question about binary sphinx inventory files

Started by"W. Martin Borgert" <debacle@debian.org>
First post2017-08-26 00:30 +0200
Last post2017-08-26 14:10 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 00:30 +0200
    Re: Question about binary sphinx inventory files Tristan Seligmann <mithrandi@mithrandi.net> - 2017-08-26 01:00 +0200
      Re: Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 14:10 +0200
    Re: Question about binary sphinx inventory files Dmitry Shachnev <mitya57@debian.org> - 2017-08-26 10:50 +0200
      Re: Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 14:10 +0200

#9758 — Question about binary sphinx inventory files

From"W. Martin Borgert" <debacle@debian.org>
Date2017-08-26 00:30 +0200
SubjectQuestion about binary sphinx inventory files
Message-ID<uivh0-1nb-9@gated-at.bofh.it>
Hi,

I believe that a small number of Python module doc packages use
binary Sphinx inventory (.inv) files during build, that are just
downloaded from python.org by the package maintainer. I don't
know anything about Sphinx nor how to encode/decode .inv files.
https://pypi.python.org/pypi/sphobjinv is not in Debian, is it?
How would I create e.g. https://docs.python.org/objects.inv
from which sources?

TIA & Cheers

[toc] | [next] | [standalone]


#9759

FromTristan Seligmann <mithrandi@mithrandi.net>
Date2017-08-26 01:00 +0200
Message-ID<uivK2-1z1-1@gated-at.bofh.it>
In reply to#9758

[Multipart message — attachments visible in raw view] — view raw

On Sat, 26 Aug 2017 at 00:20 W. Martin Borgert <debacle@debian.org> wrote:

> I believe that a small number of Python module doc packages use
> binary Sphinx inventory (.inv) files during build, that are just
> downloaded from python.org by the package maintainer. I don't
> know anything about Sphinx nor how to encode/decode .inv files.
> https://pypi.python.org/pypi/sphobjinv is not in Debian, is it?
> How would I create e.g. https://docs.python.org/objects.inv
> from which sources?
>

In the case of Python's documentation inventory specifically, this is built
and distributed in the python*-doc packages, and there should be no need to
download it from python.org.

[toc] | [prev] | [next] | [standalone]


#9762

From"W. Martin Borgert" <debacle@debian.org>
Date2017-08-26 14:10 +0200
Message-ID<uiI4x-116-11@gated-at.bofh.it>
In reply to#9759
On 2017-08-25 22:36, Tristan Seligmann wrote:
> In the case of Python's documentation inventory specifically, this is built
> and distributed in the python*-doc packages, and there should be no need to
> download it from python.org.

Thanks! I use the packaged file now in python-simpy3.
AFAIK, only python-numpy still uses a downloaded .inv.

[toc] | [prev] | [next] | [standalone]


#9760

FromDmitry Shachnev <mitya57@debian.org>
Date2017-08-26 10:50 +0200
Message-ID<uiEWZ-7nX-7@gated-at.bofh.it>
In reply to#9758

[Multipart message — attachments visible in raw view] — view raw

Hi!

On Sat, Aug 26, 2017 at 12:19:57AM +0200, W. Martin Borgert wrote:
> Hi,
>
> I believe that a small number of Python module doc packages use
> binary Sphinx inventory (.inv) files during build, that are just
> downloaded from python.org by the package maintainer. I don't
> know anything about Sphinx nor how to encode/decode .inv files.
> https://pypi.python.org/pypi/sphobjinv is not in Debian, is it?
> How would I create e.g. https://docs.python.org/objects.inv
> from which sources?

The .inv files are generated by Sphinx during normal HTML build.

In case of https://docs.python.org/objects.inv, you do not need to
regenerate it yourself. You should just depend on python3-doc and
point Sphinx to /usr/share/doc/python3/html/objects.inv.

Here you can find examples of how other packages do it:

https://codesearch.debian.net/search?q=html%2Fobjects%5C.inv+path%3Adebian%2Fpatches%2F.*

--
Dmitry Shachnev

[toc] | [prev] | [next] | [standalone]


#9761

From"W. Martin Borgert" <debacle@debian.org>
Date2017-08-26 14:10 +0200
Message-ID<uiI4x-116-1@gated-at.bofh.it>
In reply to#9760
On 2017-08-26 11:42, Dmitry Shachnev wrote:
> https://codesearch.debian.net/search?q=html%2Fobjects%5C.inv+path%3Adebian%2Fpatches%2F.*

I should use codesearch more often :~)
And "searx" should have a backend for it!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web