From 7224c3d9f57babc43b415d40259ec42754fe65e3 Mon Sep 17 00:00:00 2001 From: Saniya Maheshwari Date: Sun, 12 Jun 2022 12:16:37 +0530 Subject: 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. --- docs/userguide/entry_point.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/userguide') 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', ] } ) -- cgit v1.2.1