##// END OF EJS Templates
Added additional entrypoint script....
Nir Schulman -
Show More
@@ -211,14 +211,16 b' def find_entry_points():'
211 use, our own build_scripts_entrypt class below parses these and builds
211 use, our own build_scripts_entrypt class below parses these and builds
212 command line scripts.
212 command line scripts.
213
213
214 Each of our entry points gets both a plain name, e.g. ipython, and one
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.
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.
216 """
217 """
217 ep = [
218 ep = [
218 'ipython%s = IPython:start_ipython',
219 'ipython%s = IPython:start_ipython',
219 ]
220 ]
220 suffix = str(sys.version_info[0])
221 major_suffix = str(sys.version_info[0])
221 return [e % '' for e in ep] + [e % suffix for e in ep]
222 minor_suffix = ".".join([str(sys.version_info[0]), str(sys.version_info[1])])
223 return [e % '' for e in ep] + [e % major_suffix for e in ep] + [e % minor_suffix for e in ep]
222
224
223 class install_lib_symlink(Command):
225 class install_lib_symlink(Command):
224 user_options = [
226 user_options = [
General Comments 0
You need to be logged in to leave comments. Login now