Re: [Python-Dev] cpython (3.3): Update Sphinx toolchain.
That's cool, but historical heritage makes the make argument somewhat confusing for new users. The immediate question I can sense is What is the difference between build and make? To make (this word again) the critics constructive, let me pass some ideas about ideal user experience as I see it. --[installation]-- 1 I install Sphinx. Two scenarios. 1.1 I am not a Python user - use installer 1.1.1 Installer should obviously install Python 1.1.2 And install sphinx command 1.1.3 And add sphinx to PATH 1.2 I am a Python user - use pip 1.2.1 pip should not alter my PATH (for virtualenv) --[usage]-- 2 Two scenarios 2.1 sphinx as a system command from PATH 2.2 python -m sphinx for current virtualenv / test config --[user experience]-- 3 These two invocations are equal sphinx python -m sphinx 4. They give the following ouput Sphinx 1.2 Documentation Generator Commands: build build documentation init start new project [also quickstart] make helper for common build commands Use sphinx -h command or sphinx command --help for details I am not using sphinx ATM otherwise I'd spent more time to design ideal command set to get rid of build/make duality, but it should work ok. Actually sphinx is a new command, so you may rethink the syntax for build arguments to contain html instead of dir names, and move dir names into parameters, because it is how it is most often used. -- anatoly t. On Sun, Jan 12, 2014 at 4:53 PM, Georg Brandl g.bra...@gmx.net wrote: That's also planned, see https://bitbucket.org/birkenfeld/sphinx-new-make-mode/. Georg Am 12.01.2014 09:49, schrieb anatoly techtonik: And cross-platform automation tools in Python instead of make https://bitbucket.org/birkenfeld/sphinx/issue/456/makepy-command-script -- anatoly t. On Sun, Jan 12, 2014 at 11:12 AM, INADA Naoki songofaca...@gmail.com wrote: What about using venv and pip instead of svn? ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/techtonik%40gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] cpython (3.3): Update Sphinx toolchain.
[If you want to continue this discussio, please move it from python-dev to sphinx-users. It is now completely offtopic for the former.] Anyway, just as a short explanation, you missed the point of the change: -M is not meant to be used directly but still via a (very short) Makefile. This isn't be a change meant to be visible to users. Georg Am 13.01.2014 20:56, schrieb anatoly techtonik: That's cool, but historical heritage makes the make argument somewhat confusing for new users. The immediate question I can sense is What is the difference between build and make? To make (this word again) the critics constructive, let me pass some ideas about ideal user experience as I see it. --[installation]-- 1 I install Sphinx. Two scenarios. 1.1 I am not a Python user - use installer 1.1.1 Installer should obviously install Python 1.1.2 And install sphinx command 1.1.3 And add sphinx to PATH 1.2 I am a Python user - use pip 1.2.1 pip should not alter my PATH (for virtualenv) --[usage]-- 2 Two scenarios 2.1 sphinx as a system command from PATH 2.2 python -m sphinx for current virtualenv / test config --[user experience]-- 3 These two invocations are equal sphinx python -m sphinx 4. They give the following ouput Sphinx 1.2 Documentation Generator Commands: build build documentation init start new project [also quickstart] make helper for common build commands Use sphinx -h command or sphinx command --help for details I am not using sphinx ATM otherwise I'd spent more time to design ideal command set to get rid of build/make duality, but it should work ok. Actually sphinx is a new command, so you may rethink the syntax for build arguments to contain html instead of dir names, and move dir names into parameters, because it is how it is most often used. -- anatoly t. On Sun, Jan 12, 2014 at 4:53 PM, Georg Brandl g.bra...@gmx.net wrote: That's also planned, see https://bitbucket.org/birkenfeld/sphinx-new-make-mode/. Georg Am 12.01.2014 09:49, schrieb anatoly techtonik: And cross-platform automation tools in Python instead of make https://bitbucket.org/birkenfeld/sphinx/issue/456/makepy-command-script -- anatoly t. On Sun, Jan 12, 2014 at 11:12 AM, INADA Naoki songofaca...@gmail.com wrote: What about using venv and pip instead of svn? ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/techtonik%40gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] cpython (3.3): Update Sphinx toolchain.
What about using venv and pip instead of svn? On Sun, Jan 12, 2014 at 4:12 PM, Georg Brandl g.bra...@gmx.net wrote: Am 11.01.2014 21:11, schrieb Terry Reedy: On 1/11/2014 2:04 PM, georg.brandl wrote: http://hg.python.org/cpython/rev/87bdee4d633a changeset: 88413:87bdee4d633a branch: 3.3 parent: 88410:05e84d3ecd1e user:Georg Brandl ge...@python.org date:Sat Jan 11 20:04:19 2014 +0100 summary: Update Sphinx toolchain. files: Doc/Makefile | 8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile --- a/Doc/Makefile +++ b/Doc/Makefile @@ -41,19 +41,19 @@ checkout: @if [ ! -d tools/sphinx ]; then \ echo Checking out Sphinx...; \ - svn checkout $(SVNROOT)/external/Sphinx-1.0.7/sphinx tools/sphinx; \ + svn checkout $(SVNROOT)/external/Sphinx-1.2/sphinx tools/sphinx; \ fi Doc/make.bat needs to be similarly updated. Indeed, thanks for the reminder. Georg ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/songofacandy%40gmail.com -- INADA Naoki songofaca...@gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] cpython (3.3): Update Sphinx toolchain.
Planned :) Georg Am 12.01.2014 09:12, schrieb INADA Naoki: What about using venv and pip instead of svn? On Sun, Jan 12, 2014 at 4:12 PM, Georg Brandl g.bra...@gmx.net mailto:g.bra...@gmx.net wrote: Am 11.01.2014 21:11, schrieb Terry Reedy: On 1/11/2014 2:04 PM, georg.brandl wrote: http://hg.python.org/cpython/rev/87bdee4d633a changeset: 88413:87bdee4d633a branch: 3.3 parent: 88410:05e84d3ecd1e user:Georg Brandl ge...@python.org mailto:ge...@python.org date:Sat Jan 11 20:04:19 2014 +0100 summary: Update Sphinx toolchain. files: Doc/Makefile | 8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile --- a/Doc/Makefile +++ b/Doc/Makefile @@ -41,19 +41,19 @@ checkout: @if [ ! -d tools/sphinx ]; then \ echo Checking out Sphinx...; \ - svn checkout $(SVNROOT)/external/Sphinx-1.0.7/sphinx tools/sphinx; \ + svn checkout $(SVNROOT)/external/Sphinx-1.2/sphinx tools/sphinx; \ fi Doc/make.bat needs to be similarly updated. Indeed, thanks for the reminder. Georg ___ Python-Dev mailing list Python-Dev@python.org mailto:Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/songofacandy%40gmail.com -- INADA Naoki songofaca...@gmail.com mailto:songofaca...@gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] cpython (3.3): Update Sphinx toolchain.
And cross-platform automation tools in Python instead of make https://bitbucket.org/birkenfeld/sphinx/issue/456/makepy-command-script -- anatoly t. On Sun, Jan 12, 2014 at 11:12 AM, INADA Naoki songofaca...@gmail.com wrote: What about using venv and pip instead of svn? On Sun, Jan 12, 2014 at 4:12 PM, Georg Brandl g.bra...@gmx.net wrote: Am 11.01.2014 21:11, schrieb Terry Reedy: On 1/11/2014 2:04 PM, georg.brandl wrote: http://hg.python.org/cpython/rev/87bdee4d633a changeset: 88413:87bdee4d633a branch: 3.3 parent: 88410:05e84d3ecd1e user:Georg Brandl ge...@python.org date:Sat Jan 11 20:04:19 2014 +0100 summary: Update Sphinx toolchain. files: Doc/Makefile | 8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile --- a/Doc/Makefile +++ b/Doc/Makefile @@ -41,19 +41,19 @@ checkout: @if [ ! -d tools/sphinx ]; then \ echo Checking out Sphinx...; \ - svn checkout $(SVNROOT)/external/Sphinx-1.0.7/sphinx tools/sphinx; \ + svn checkout $(SVNROOT)/external/Sphinx-1.2/sphinx tools/sphinx; \ fi Doc/make.bat needs to be similarly updated. Indeed, thanks for the reminder. Georg ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/songofacandy%40gmail.com -- INADA Naoki songofaca...@gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/techtonik%40gmail.com ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com