Skip to content

Commit

Permalink
Merge pull request #237 from bollwyvl/gh-235-use-entry-point
Browse files Browse the repository at this point in the history
Replace use of scripts with entry_points
  • Loading branch information
consideRatio authored Apr 14, 2022
2 parents 584cfc8 + 64d3438 commit d4d6593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 0 additions & 6 deletions scripts/batchspawner-singleuser

This file was deleted.

4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@

setup_args = dict(
name="batchspawner",
scripts=glob(pjoin("scripts", "*")),
entry_points={
"console_scripts": ["batchspawner-singleuser=batchspawner.singleuser:main"],
},
packages=["batchspawner"],
version=version_ns["__version__"],
description="""Batchspawner: A spawner for Jupyterhub to spawn notebooks using batch resource managers.""",
Expand Down

0 comments on commit d4d6593

Please sign in to comment.