summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-06-04 11:02:31 +0100
committerStephen Finucane <stephen@that.guru>2017-10-09 16:28:39 +0100
commitbdaab9ef1be3e0d9ee594e659842cb162e147bfe (patch)
treea77af16c9898e98505eb995e62697fc2f6401316
parentae08b2d7943239f60b3110b3d1bc3cd78c0c7014 (diff)
downloadsphinx-git-bdaab9ef1be3e0d9ee594e659842cb162e147bfe.tar.gz
Remove static scripts
Executable scripts without the '.py' extension are already created and installed by setuptools, by way of the 'console_scripts' section. These scripts are unnecessary noise. If people want to test this behavior locally, use a virtualenv. Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r--doc/Makefile2
-rwxr-xr-xsphinx-apidoc.py15
-rwxr-xr-xsphinx-autogen.py15
-rwxr-xr-xsphinx-build.py15
-rwxr-xr-xsphinx-quickstart.py15
5 files changed, 1 insertions, 61 deletions
diff --git a/doc/Makefile b/doc/Makefile
index d0e4e297b..c54236be0 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -3,7 +3,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
-SPHINXBUILD = python ../sphinx-build.py
+SPHINXBUILD = python ../sphinx/cmd/build.py
SPHINXPROJ = sphinx
SOURCEDIR = .
BUILDDIR = _build
diff --git a/sphinx-apidoc.py b/sphinx-apidoc.py
deleted file mode 100755
index eb86e0b12..000000000
--- a/sphinx-apidoc.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
- Sphinx - Python documentation toolchain
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-import sys
-
-if __name__ == '__main__':
- from sphinx.ext.apidoc import main
- sys.exit(main(sys.argv[1:]))
diff --git a/sphinx-autogen.py b/sphinx-autogen.py
deleted file mode 100755
index c9a78d158..000000000
--- a/sphinx-autogen.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
- Sphinx - Python documentation toolchain
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-import sys
-
-if __name__ == '__main__':
- from sphinx.ext.autosummary.generate import main
- sys.exit(main(sys.argv[1:]))
diff --git a/sphinx-build.py b/sphinx-build.py
deleted file mode 100755
index e8116fefc..000000000
--- a/sphinx-build.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
- Sphinx - Python documentation toolchain
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-import sys
-
-if __name__ == '__main__':
- from sphinx import main
- sys.exit(main(sys.argv[1:]))
diff --git a/sphinx-quickstart.py b/sphinx-quickstart.py
deleted file mode 100755
index 3caa6590f..000000000
--- a/sphinx-quickstart.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-"""
- Sphinx - Python documentation toolchain
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-import sys
-
-if __name__ == '__main__':
- from sphinx.cmd.quickstart import main
- sys.exit(main(sys.argv[1:]))