ceph-iscsi-config
ceph-iscsi-config copied to clipboard
StripExtension in setup.py beaks bdist_rpm
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 ...