Re: sphinx-build conf.py circular dependency

2019-02-15 Thread Gabriel L. Somlo
Zbyszek, Miro, Thanks much for your help. I ended up calling sphinx-build-3 directly as per Zbyszek's example. In retrospect, what tripped me up was that pkg_resources.require("migen")[0].version is *not* helped by setting PYTHONPATH, but the "import migen" line further down *is*. I had

Re: sphinx-build conf.py circular dependency

2019-02-15 Thread Miro Hrončok
On 15. 02. 19 18:32, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Feb 15, 2019 at 06:19:10PM +0100, Miro Hrončok wrote: On 15. 02. 19 17:57, Gabriel L. Somlo wrote: I'm trying to package 'migen': http://www.contrib.andrew.cmu.edu/~somlo/python-migen-rpm/python-migen.spec The sources come with

Re: sphinx-build conf.py circular dependency

2019-02-15 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Feb 15, 2019 at 06:19:10PM +0100, Miro Hrončok wrote: > On 15. 02. 19 17:57, Gabriel L. Somlo wrote: > >I'm trying to package 'migen': > > > >http://www.contrib.andrew.cmu.edu/~somlo/python-migen-rpm/python-migen.spec > > > >The sources come with a ./doc directory that uses sphinx-build to

Re: sphinx-build conf.py circular dependency

2019-02-15 Thread Miro Hrončok
On 15. 02. 19 17:57, Gabriel L. Somlo wrote: I'm trying to package 'migen': http://www.contrib.andrew.cmu.edu/~somlo/python-migen-rpm/python-migen.spec The sources come with a ./doc directory that uses sphinx-build to generate documentation, and a ./doc/conf.py file which imports the package

sphinx-build conf.py circular dependency

2019-02-15 Thread Gabriel L. Somlo
I'm trying to package 'migen': http://www.contrib.andrew.cmu.edu/~somlo/python-migen-rpm/python-migen.spec The sources come with a ./doc directory that uses sphinx-build to generate documentation, and a ./doc/conf.py file which imports the package being built, in order to automatically paste