Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod From: Ghislain Vaillant Newsgroups: linux.debian.maint.python Subject: Re: building manpages via setup.py Date: Wed, 02 Aug 2017 10:20:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Aug 2 08:15:18 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=2bQBIEX+WiGXgcbvmMRo1w+R6NStCI+wWdwFw3hvIUc=; b=V79bq6/YF+frT6UVBqvkTkaaes2Di4BwVAmCSrHecBvsDD+vrY7LIkKmFfR7+YEOPd n6JqzraRYhHX//9Nn2p8nqjNYuEvUp0z1lhch2IGQbu2lYcpzKwS/VQtr1TJ78SsXQEq lwU31mbfHAUKtwcZdm7tHIyeO2aVkGWB/PLSeNKodzHoitidDse5/LEEixq+AkRtFtuT ZvAQq/arsA4hz17NLIRmPSHAhtZlhRIKLPIuOTcL8iUOnmtWaqKh0Gx7etII2RbGkPWJ i+QLutakFolOyIpFimJYG5JM5jvCl/wlHWiQ4M80VcclrkKFMvTUGnnFR0p/MB7lKiTv +92g== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2bQBIEX+WiGXgcbvmMRo1w+R6NStCI+wWdwFw3hvIUc=; b=LA0bU/Q+Ks7Ub5NdGIWDmvuD7aiOa8gfiNqND7Kl48RstG+EyIaCByWsVVroum4780 JQQUuFzpiOhmh4PQsJ8QGFHwBsgmi/9egaMAbsvfE4gzV2s/zwxrcU7QtDdJKcl2QWG2 pqWheMEMG9tLFT1gsJFLfyZzYBvRCngenmhOMvJYvvP8icYFIZRAjlBkCdPB2zRNcoXE 7gH7sqWaSOXJYyWXzIjrJhIDXmspOt7C/xWwAi0JlPXFaDmq5OEbnsGEG+7dHYPjIUI/ S9k0rGnqE6vOBoAzGsvQfNQ8Xl6af67zHWMALNP1+M88eB2bZrQPhO1Rz4b1CtpE/DrS 3Sow== X-Gm-Message-State: AIVw111VPTo2qnJwY6dvwOCBJGSfwGIj2iw5/8OrEtT1W5Mku5vMfE8p LsOzkBD8zhsc2v2rWXE= X-Received: by 10.223.176.68 with SMTP id g4mr16904829wra.26.1501661700559; Wed, 02 Aug 2017 01:15:00 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/15051 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/3ee0f234-2668-afb3-8c4b-569b7de1989b@gmail.com Approved: robomod@news.nic.it Lines: 19 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 2 Aug 2017 09:14:59 +0100 X-Original-Message-ID: <3ee0f234-2668-afb3-8c4b-569b7de1989b@gmail.com> 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> Xref: csiph.com linux.debian.maint.python:9670 On 02/08/17 09:03, PICCA Frederic-Emmanuel wrote: >> Perhaps the LibraryStyleGuide should be updated to reflect on this >> change? I believe we are still advising explicit http_proxy / >> https_proxy exports prior to running sphinx-build. > > And running sphinx-build does not work expecially if there is extensions in the documentation. > sphinx-build should be run via pybuild in order to know about the build_dir. > > right ? At the end of the day, it is just a matter of providing an appropriate PYTHONPATH, regardless of whether pybuild is used or not. The default is $(CURDIR) for the vast majority of packages. But, it may also be something else if extension packages are involved, or if the package directory is under a different folder than the root directory, such as src/. Ghis