Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-10-01 16:45:41 +0300
committerStephen Finucane <stephen@that.guru>2017-10-02 17:42:23 +0300
commit1f5ed022252066900c4ed982184e3d26885ca33d (patch)
tree1f9773b98e0da2c6d50ffbae1057784056486e74 /setup.py
parent89f9c7cab74298a243ac409c26d25eb2b137bf03 (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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index d55fa2a64..c8c300667 100644
--- a/setup.py
+++ b/setup.py
@@ -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',
],