summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSaniya Maheshwari <saniya.mah@gmail.com>2022-06-12 12:16:37 +0530
committerSaniya Maheshwari <saniya.mah@gmail.com>2022-06-12 12:16:37 +0530
commit7224c3d9f57babc43b415d40259ec42754fe65e3 (patch)
tree94fdc66bccc14b324f79636b791f8404c68315bf /docs
parent3313a404975c8483d368b0a039ef495347560002 (diff)
downloadpython-setuptools-git-7224c3d9f57babc43b415d40259ec42754fe65e3.tar.gz
Added a single space around the `=` sign in `setup.py` snippets
Have checked that the snippets continue to work with this space included. The space improves readability, hence this is probably a good addition.
Diffstat (limited to 'docs')
-rw-r--r--docs/userguide/entry_point.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/userguide/entry_point.rst b/docs/userguide/entry_point.rst
index abf8023a..cc44aa38 100644
--- a/docs/userguide/entry_point.rst
+++ b/docs/userguide/entry_point.rst
@@ -86,7 +86,7 @@ configuration:
# ...,
entry_points={
'console_scripts': [
- 'hello-world=timmins:hello_world',
+ 'hello-world = timmins:hello_world',
]
}
)
@@ -156,7 +156,7 @@ Then, we can add a GUI script entry point:
# ...,
entry_points={
'gui_scripts': [
- 'hello-world=timmins:hello_world',
+ 'hello-world = timmins:hello_world',
]
}
)
@@ -362,7 +362,7 @@ of ``timmins-plugin-fancy``:
# ...,
entry_points = {
'timmins.display': [
- 'excl=timmins_plugin_fancy:excl_display'
+ 'excl = timmins_plugin_fancy:excl_display'
]
}
)
@@ -434,8 +434,8 @@ The configuration of ``timmins-plugin-fancy`` would then change to:
# ...,
entry_points = {
'timmins.display': [
- 'excl=timmins_plugin_fancy:excl_display',
- 'lined=timmins_plugin_fancy:lined_display',
+ 'excl = timmins_plugin_fancy:excl_display',
+ 'lined = timmins_plugin_fancy:lined_display',
]
}
)