Skip to content

Commit

Permalink
Remove custom Cobbler CLI and use the entry_points from setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoolGuy committed Aug 10, 2021
1 parent 9c45455 commit 8474de3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 36 deletions.
35 changes: 0 additions & 35 deletions bin/cobbler

This file was deleted.

4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,12 @@ def run(self):
},
packages=find_packages(exclude=["*tests*"]),
scripts=[
"bin/cobbler",
"bin/cobblerd",
"bin/cobbler-ext-nodes",
],
entry_points={
'console_scripts': ['cobbler=cobbler.cli:main'],
},
configure_values={
'webroot': os.path.normpath(webroot),
'tftproot': os.path.normpath(tftproot),
Expand Down

0 comments on commit 8474de3

Please sign in to comment.