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 Newsgroups: linux.debian.maint.python Subject: RE:building manpages via setup.py Date: Wed, 02 Aug 2017 11:20:02 +0200 Message-ID: References: X-Original-To: Ghislain Vaillant , "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: 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: archive/latest/15055 List-ID: List-URL: 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: X-Original-References: <20170801153401.6aqaw4syh3pvzchb@sar0.p1otr.com> <20170802072020.3nwvcsvoly4vycit@sar0.p1otr.com> <20170802074408.rpzxgjnd2k52upju@sar0.p1otr.com> <9811c4b7-22a8-b913-86b7-70d61b2ad1ef@gmail.com> <3ee0f234-2668-afb3-8c4b-569b7de1989b@gmail.com> , Xref: csiph.com linux.debian.maint.python:9674 > PYTHONPATH=3D. sphinx-build -N -b html > One can also use the sphinx-generated Makefile if available: > PYTHONPATH=3D$(CURDIR) $(MAKE) -C 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 c= hange 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 --inp= lace. > 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=