diff options
author | Stephen Finucane <stephen@that.guru> | 2017-10-01 16:45:41 +0300 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-10-02 17:42:23 +0300 |
commit | 1f5ed022252066900c4ed982184e3d26885ca33d (patch) | |
tree | 1f9773b98e0da2c6d50ffbae1057784056486e74 /setup.py | |
parent | 89f9c7cab74298a243ac409c26d25eb2b137bf03 (diff) |
sphinx-quickstart: Move code to 'sphinx.cmd'
We're going to move the executable's here (or at least those that part
of the core library). The 'sphinx-build' executable was already moved,
so lets do 'sphinx-quickstart' next.
To avoid breaking packages that are using this feature directly, aliases
for the old 'main' method are included. This is based on what Django
does [1] and, like Django, will allow us to safely remove the old
modules in Sphinx 2.0.
[1] https://github.com/django/django/blob/1.11/django/test/runner.py#L688-L695
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -240,7 +240,7 @@ setup( entry_points={ 'console_scripts': [ 'sphinx-build = sphinx.cmd.build:main', - 'sphinx-quickstart = sphinx.quickstart:main', + 'sphinx-quickstart = sphinx.cmd.quickstart:main', 'sphinx-apidoc = sphinx.ext.apidoc:main', 'sphinx-autogen = sphinx.ext.autosummary.generate:main', ], |