File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,20 +211,15 @@ def find_entry_points():
211211 use, our own build_scripts_entrypt class below parses these and builds
212212 command line scripts.
213213
214- Each of our entry points gets a plain name, e.g. ipython, a name
215- suffixed with the Python major version number, e.g. ipython3, and
216- a name suffixed with the Python major.minor version number, eg. ipython3.8.
214+ Each of our entry points gets a plain name, e.g. ipython, and a name
215+ suffixed with the Python major version number, e.g. ipython3.
217216 """
218217 ep = [
219218 'ipython%s = IPython:start_ipython' ,
220219 ]
221220 major_suffix = str (sys .version_info [0 ])
222- minor_suffix = "." .join ([str (sys .version_info [0 ]), str (sys .version_info [1 ])])
223- return (
224- [e % "" for e in ep ]
225- + [e % major_suffix for e in ep ]
226- + [e % minor_suffix for e in ep ]
227- )
221+ return [e % "" for e in ep ] + [e % major_suffix for e in ep ]
222+
228223
229224class install_lib_symlink (Command ):
230225 user_options = [
You can’t perform that action at this time.
0 commit comments