mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-17 12:39:54 +08:00
Use entry points for scripts
To make Windows exe launchers, see jupyter/jupyter#15
This commit is contained in:
parent
68759c84d0
commit
d404af9d16
8
setup.py
8
setup.py
@ -177,6 +177,14 @@ if 'setuptools' in sys.modules:
|
||||
setup_args['extras_require'] = extras_require
|
||||
requires = setup_args['install_requires'] = install_requires
|
||||
|
||||
setup_args['entry_points'] = {
|
||||
'console_scripts': [
|
||||
'jupyter-notebook = notebook.notebookapp:main',
|
||||
'jupyter-nbextension = notebook.nbextensions:main',
|
||||
]
|
||||
}
|
||||
setup_args.pop('scripts', None)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Do the actual setup now
|
||||
#---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user