[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds



Hi Brian,

On Tue, Jul 12, 2016 at 07:45:01AM +1000, Brian May wrote:
> How do you call Sphinx in setup.py? When I researched this before, the
> best advice I could find seemed to be along the lines of "don't do
> that".

Setuptools provides a build_sphinx command out of the box. For packages
using distutils, there is a sphinx.setup_command module provided by
Sphinx.

Some upstreams call that command during build phase, though that’s not
common.

I agree that my comment was a bit confusing because it applies only to
this rare case (it was mainly an answer to Chris’ question which mentioned
pybuild).

-- 
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: