ceph-volume: use console_scripts 24837/head
authorMehdi Abaakouk <sileht@sileht.net>
Fri, 26 Oct 2018 09:59:55 +0000 (11:59 +0200)
committerAlfredo Deza <adeza@redhat.com>
Tue, 30 Oct 2018 18:36:42 +0000 (14:36 -0400)
commitac9ff4ae23c01081ed219166de06d577a6cd0df1
treefa8b5feb9649b434d32bbfec93a436d1fa1b2299
parent1ae4191a771fffb4259b3a59b7685984844668e6
ceph-volume: use console_scripts

Using "#!/usr/bin/env python" is not recommended as it's not portable.

setuptools provides an console_scripts entry_point that generates
scripts that always have the good sheban whatever the target operating
system and python version/distribution.

http://tracker.ceph.com/issues/36601

Signed-off-by: Mehdi Abaakouk <sileht@sileht.net>
(cherry picked from commit 6a2ed6c285b74f463f223d3501def8ef4e6283b1)
src/ceph-volume/bin/ceph-volume [deleted file]
src/ceph-volume/bin/ceph-volume-systemd [deleted file]
src/ceph-volume/setup.py