Re: Question about binary sphinx inventory files

2017-08-26 Thread W. Martin Borgert
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!



Re: Question about binary sphinx inventory files

2017-08-26 Thread W. Martin Borgert
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.



Re: Question about binary sphinx inventory files

2017-08-26 Thread Dmitry Shachnev
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


signature.asc
Description: PGP signature


Re: Question about binary sphinx inventory files

2017-08-25 Thread Tristan Seligmann
On Sat, 26 Aug 2017 at 00:20 W. Martin Borgert  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.


Question about binary sphinx inventory files

2017-08-25 Thread W. Martin Borgert
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