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


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

RE:building manpages via setup.py

Path csiph.com!goblin3!goblin2!goblin.stu.neva.ru!news.unit0.net!news.panservice.it!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 11:20:02 +0200
Message-ID <u9XYS-7WK-7@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> <u9XYS-7WK-9@gated-at.bofh.it> <u9Xmb-7tc-37@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 09:12:15 2017
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=0.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, MONOTONE_WORDS_2_15=1, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, 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 A86BB7000B0
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1501664120; bh=31wG6bbA26XaKvkEEfLKGlury5Pof5+TGvlN7bJ7wFc=; h=From:To:Subject:Date:References:In-Reply-To:From; b=dMRnfIvRv31m33tCIK/eM9XfD7qv0N8/Py6y6QKk8qCyeCLhcQFfAdIZeKjcmzANb pq/xp3lxTUbi9zpIs1Lk0vxwDi/XuB8x10K0CGq3du0RA25DCnvlcFcYlOe/R3wYf3 v4fDjGe5Vc1lkxUF9OdKS6QpDABQviUWgPvYyJdg=
Dkim-Filter OpenDKIM Filter v2.10.3 brouette.synchrotron-soleil.fr ED0607000E3
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1501664120; bh=31wG6bbA26XaKvkEEfLKGlury5Pof5+TGvlN7bJ7wFc=; h=From:To:Subject:Date:References:In-Reply-To:From; b=dMRnfIvRv31m33tCIK/eM9XfD7qv0N8/Py6y6QKk8qCyeCLhcQFfAdIZeKjcmzANb pq/xp3lxTUbi9zpIs1Lk0vxwDi/XuB8x10K0CGq3du0RA25DCnvlcFcYlOe/R3wYf3 v4fDjGe5Vc1lkxUF9OdKS6QpDABQviUWgPvYyJdg=
Thread-Topic building manpages via setup.py
Thread-Index AdMKnYeNbtHGA2ChRMa/5+FgMHXlSAALU42AACRWRyD//+WzAIAAIkd1///kXwCAAAEXAIAAJXaV///iEoCAACJ29f//4toAAAS5p7U=
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/15055
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/A2A20EC3B8560D408356CAC2FC148E53BB3F9D23@SUN-DAG3.synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 41
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 2 Aug 2017 08:55:18 +0000
X-Original-Message-ID <A2A20EC3B8560D408356CAC2FC148E53BB3F9D23@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> <d296913d-ed6f-4836-9fc1-e5db693b690d@gmail.com>
Xref csiph.com linux.debian.maint.python:9674

Show key headers only | View raw


> PYTHONPATH=. sphinx-build -N -b html <docs_dir> <build_dir>

> One can also use the sphinx-generated Makefile if available:

> PYTHONPATH=$(CURDIR) $(MAKE) -C <docs_dir> html

> Both are simple one-liners and do not rely on pybuild.

Yes it works but this is fragile since the organisation of the module can change in the sources.

at least the .pybuild directory is under the responsability of pybuild and we should use pybuild instead of relying
on the maintainer snipset. (typo error, change during the time.)

It would be nice if the doc generation in python shold be standardize.

> If it does not cost much to build the extension inplace, then the
> simplest option is to prefix one of these calls above with:

> python3 setup.py build_ext --inplace

when you have multiple verison of the interpreter you prefer to avoid --inplace.

> If the cost is prohibitive, which arguably applies to a very limited set
> of packages (yours included) then you would use pybuild for that, as
> Piotr kindly suggested.

Yes it depends olsa of the arch. Some are really slow....

> Considering the rarity of this use case though, I wonder whether it is
> worth adding a separate section to the style guide.

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

not that small

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