Skip to content

Commit 64d3438

Browse files
committed
replace use of scripts with entry_point
1 parent f465967 commit 64d3438

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

scripts/batchspawner-singleuser

Lines changed: 0 additions & 6 deletions
This file was deleted.

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929

3030
setup_args = dict(
3131
name="batchspawner",
32-
scripts=glob(pjoin("scripts", "*")),
32+
entry_points={
33+
"console_scripts": ["batchspawner-singleuser=batchspawner.singleuser:main"],
34+
},
3335
packages=["batchspawner"],
3436
version=version_ns["__version__"],
3537
description="""Batchspawner: A spawner for Jupyterhub to spawn notebooks using batch resource managers.""",

0 commit comments

Comments
 (0)