]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-detect-init: do not require argparse on py2.7 5130/head
authorKefu Chai <kchai@redhat.com>
Thu, 2 Jul 2015 16:44:10 +0000 (00:44 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 3 Jul 2015 03:41:40 +0000 (11:41 +0800)
commitf11a3a5c2fc89810f3723299e516c527b07e9098
treeff776b20c155e6028ef286c6eaecaafb05579bac
parent8202767f3f7b981af9bb845f25ea112b6eff0976
ceph-detect-init: do not require argparse on py2.7

argparse is included in python2.7 and up, and pkg_resources is not
able to find it by .egg-info. so we should not list it as "requires"
if python's version is greater or equal to 2.7.

Fixes: #12167
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/ceph-detect-init/setup.py