ceph-iscsi-config icon indicating copy to clipboard operation
ceph-iscsi-config copied to clipboard

StripExtension in setup.py beaks bdist_rpm

Open xinhaikang opened this issue 6 years ago • 0 comments

Just as stated in the comment of https://stackoverflow.com/questions/4359231/rename-script-file-in-distutils/11400431#11400431, removing the .py extension breaks bdist_rpm.

Running "python setup.py bdist_rpm" generates following error:

... Processing files: ceph_iscsi_config-2.6-1.noarch error: File not found: /root/ceph/iscsi/ceph-iscsi-config/build/bdist.linux-x86_64/rpm/BUILDROOT/ceph_iscsi_config-2.6-1.x86_64/usr/bin/rbd-target-gw.py RPM build errors: File not found: /root/ceph/iscsi/ceph-iscsi-config/build/bdist.linux-x86_64/rpm/BUILDROOT/ceph_iscsi_config-2.6-1.x86_64/usr/bin/rbd-target-gw.py ...

xinhaikang avatar Jun 05 '18 19:06 xinhaikang