[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 July 17, 2016 3:44:29 AM GMT+02:00, Brian May <bam@debian.org> wrote:
> Dmitry Shachnev <mitya57@debian.org> writes:
> 
> > 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.
> 
> Is there any reason that this isn't more common? Should I be doing
> this
> for my packages which I maintain upstream?

If you are both the upstream and the packager, then adding a few lines in debian/rules to build the documentation is probably easier than hacking the build command in setup.py.

--
Dmitry Shachnev


Reply to: