Skip to content

Commit d4d6593

Browse files
authored
Merge pull request #237 from bollwyvl/gh-235-use-entry-point
Replace use of scripts with entry_points
2 parents 584cfc8 + 64d3438 commit d4d6593

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)