Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #24773 from sileht/no-scripts
ceph-volume: use console_scripts

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
  • Loading branch information
alfredodeza committed Oct 30, 2018
2 parents 8f9c703 + 6a2ed6c commit 2ebec91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
6 changes: 0 additions & 6 deletions src/ceph-volume/bin/ceph-volume

This file was deleted.

6 changes: 0 additions & 6 deletions src/ceph-volume/bin/ceph-volume-systemd

This file was deleted.

8 changes: 6 additions & 2 deletions src/ceph-volume/setup.py
Expand Up @@ -17,7 +17,12 @@
'pytest >=2.1.3',
'tox',
],
scripts = ['bin/ceph-volume', 'bin/ceph-volume-systemd'],
entry_points = dict(
console_scripts = [
'ceph-volume = ceph_volume.main:Volume',
'ceph-volume-systemd = ceph_volume.systemd:main',
],
),
classifiers = [
'Environment :: Console',
'Intended Audience :: Information Technology',
Expand All @@ -29,5 +34,4 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]

)

0 comments on commit 2ebec91

Please sign in to comment.