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


Groups > linux.debian.maint.python > #9676

RE:building manpages via setup.py

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject RE:building manpages via setup.py
Date Wed, 02 Aug 2017 12:10:01 +0200
Message-ID <u9YLf-8vK-1@gated-at.bofh.it> (permalink)
References <u9GEH-5cQ-19@gated-at.bofh.it> <u9Hr4-5Jr-23@gated-at.bofh.it> <u9W6J-6Ni-3@gated-at.bofh.it> <u9Wgq-6Qo-9@gated-at.bofh.it> <u9WzL-6Xn-9@gated-at.bofh.it> <u9WzL-6Xn-7@gated-at.bofh.it> <u9WzM-6Xn-25@gated-at.bofh.it> <u9X2O-7mD-23@gated-at.bofh.it> <u9X2O-7mD-21@gated-at.bofh.it> <u9Xmb-7tc-27@gated-at.bofh.it> <u9Xmb-7tc-37@gated-at.bofh.it> <u9YLf-8vK-3@gated-at.bofh.it> <u9Y8x-83f-13@gated-at.bofh.it>
X-Original-To Ghislain Vaillant <ghisvail@gmail.com>, "debian-python@lists.debian.org" <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Aug 2 10:03:13 2017
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=-0.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, THREADTOPIC=2] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Dkim-Filter OpenDKIM Filter v2.10.3 brouette.synchrotron-soleil.fr C70787000D6
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1501667159; bh=ekenkXu6MdON+e/04ki59mS93bXF+TaGT6Yn2rm2XYs=; h=From:To:Subject:Date:References:In-Reply-To:From; b=dr4p8q5TYw2JON9nQ7PUQPgyhoQQGiEHcx99SCWtB853iEBz7CDUJG6QoaPT7qoRI YTEY5yv65LpHZovpoTtkD+cEaqCDP6ck+JZFWLPm5tHNdsqyhw7o/QoD6ULHl1Xa8L n/kgr+JxmLYpExWHuQqgK8EKJUwbOUTf+7sk6+JE=
Dkim-Filter OpenDKIM Filter v2.10.3 brouette.synchrotron-soleil.fr 061FF7000D2
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1501667159; bh=ekenkXu6MdON+e/04ki59mS93bXF+TaGT6Yn2rm2XYs=; h=From:To:Subject:Date:References:In-Reply-To:From; b=dr4p8q5TYw2JON9nQ7PUQPgyhoQQGiEHcx99SCWtB853iEBz7CDUJG6QoaPT7qoRI YTEY5yv65LpHZovpoTtkD+cEaqCDP6ck+JZFWLPm5tHNdsqyhw7o/QoD6ULHl1Xa8L n/kgr+JxmLYpExWHuQqgK8EKJUwbOUTf+7sk6+JE=
Thread-Topic building manpages via setup.py
Thread-Index AdMKnYeNbtHGA2ChRMa/5+FgMHXlSAALU42AACRWRyD//+WzAIAAIkd1///kXwCAAAEXAIAAJXaV///iEoCAACJ29f//4toAAAS5p7UAAwPEAAABSiC/
Accept-Language fr-FR, en-US
Content-Language fr-FR
X-Originating-IP [195.221.0.171]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15057
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/A2A20EC3B8560D408356CAC2FC148E53BB3F9D7B@SUN-DAG3.synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 52
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 2 Aug 2017 09:45:57 +0000
X-Original-Message-ID <A2A20EC3B8560D408356CAC2FC148E53BB3F9D7B@SUN-DAG3.synchrotron-soleil.fr>
X-Original-References <A2A20EC3B8560D408356CAC2FC148E53BB3F8A26@SUN-DAG3.synchrotron-soleil.fr> <20170801153401.6aqaw4syh3pvzchb@sar0.p1otr.com> <A2A20EC3B8560D408356CAC2FC148E53BB3F9C43@SUN-DAG3.synchrotron-soleil.fr> <20170802072020.3nwvcsvoly4vycit@sar0.p1otr.com> <A2A20EC3B8560D408356CAC2FC148E53BB3F9C98@SUN-DAG3.synchrotron-soleil.fr> <20170802074408.rpzxgjnd2k52upju@sar0.p1otr.com> <9811c4b7-22a8-b913-86b7-70d61b2ad1ef@gmail.com> <A2A20EC3B8560D408356CAC2FC148E53BB3F9CDD@SUN-DAG3.synchrotron-soleil.fr> <3ee0f234-2668-afb3-8c4b-569b7de1989b@gmail.com> <A2A20EC3B8560D408356CAC2FC148E53BB3F9CF8@SUN-DAG3.synchrotron-soleil.fr> <d296913d-ed6f-4836-9fc1-e5db693b690d@gmail.com> <A2A20EC3B8560D408356CAC2FC148E53BB3F9D23@SUN-DAG3.synchrotron-soleil.fr>,<5bd26b01-fbcd-631d-13ef-820d1ae218ad@gmail.com> <5bd26b01-fbcd-631d-13ef-820d1ae218ad@gmail.com>
Xref csiph.com linux.debian.maint.python:9676

Show key headers only | View raw


> First, that's very speculative. Second, that's upstream's problem.

> The upstream Makefile and conf.py are likely generated by Sphinx itself
> via sphinx-quickstart. Did your upstream tinker with them that much that
> they cannot be trusted?

No this is just that does not fit well with extension.

> Some upstream do use a build_sphinx command, but it is far from common
> and it does not solve the extension module problem.

Yes this is what they are doing. extension are part of the python ec-system but it seems thaht this is not well suported out of the box by sphinx.

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

You need to customize the sys.path in order to find the extensions.

This path can change depending on the setup.py build options so this is not reliable.

> Why? All you need is *one* occurrence of the extension modules somewhere
> in the PYTHONPATH in order to generate the docs. Chances are that's how
> upstream generates them.

Because by experience I find issue in the build system and the python code when building the doc for multiple
interpreter (python2/python3 differences...)

> > Found a total of 643 reverse build-depend(s) for python-all-dev.
> >
> > not that small

> How is the ratio over all the Python packages? I suspect very small.

Found a total of 1968 reverse build-depend(s) for python-all.

not that small 32 % ;)


Cheers

Fred

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-01 16:50 +0200
  Re: building manpages via setup.py Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-01 17:00 +0200
    RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-01 17:50 +0200
  Re: building manpages via setup.py Piotr Ożarowski <piotr@debian.org> - 2017-08-01 17:40 +0200
    RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-02 09:20 +0200
      Re: building manpages via setup.py Piotr Ożarowski <piotr@debian.org> - 2017-08-02 09:30 +0200
        Re: building manpages via setup.py Piotr Ożarowski <piotr@debian.org> - 2017-08-02 09:50 +0200
          Re: building manpages via setup.py Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-02 09:50 +0200
            Re: building manpages via setup.py Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-02 10:20 +0200
              RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-02 10:40 +0200
                Re: building manpages via setup.py Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-02 10:40 +0200
                RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-02 11:20 +0200
                Re: building manpages via setup.py Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-02 11:30 +0200
                RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-02 12:10 +0200
                Re: building manpages via setup.py Ghislain Vaillant <ghisvail@gmail.com> - 2017-08-02 12:50 +0200
                RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-02 14:30 +0200
            RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-02 10:30 +0200
        RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-02 09:50 +0200
        RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-03 12:20 +0200
          RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-03 15:50 +0200
            RE:building manpages via setup.py PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2017-08-03 16:20 +0200

csiph-web