diff --git a/scripts/jupyterhub b/scripts/jupyterhub deleted file mode 100755 index 98d12891..00000000 --- a/scripts/jupyterhub +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env python3 - -from jupyterhub.app import main -main() diff --git a/scripts/jupyterhub-singleuser b/scripts/jupyterhub-singleuser deleted file mode 100755 index e207396d..00000000 --- a/scripts/jupyterhub-singleuser +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python3 - -from jupyterhub.singleuser import main - -if __name__ == '__main__': - main() diff --git a/setup.py b/setup.py index 5b14fc37..63e3b077 100755 --- a/setup.py +++ b/setup.py @@ -89,7 +89,6 @@ with open('README.md', encoding="utf8") as f: setup_args = dict( name = 'jupyterhub', - scripts = glob(pjoin('scripts', '*')), packages = packages, # dummy, so that install_data doesn't get skipped # this will be overridden when bower is run anyway @@ -121,6 +120,10 @@ setup_args = dict( 'localprocess = jupyterhub.spawner:LocalProcessSpawner', 'simple = jupyterhub.spawner:SimpleLocalProcessSpawner', ], + 'console_scripts': [ + 'jupyterhub = jupyterhub.app:main', + 'jupyterhub-singleuser = jupyterhub.singleuser:main', + ] }, classifiers = [ 'Intended Audience :: Developers',