trouble with data_files + RPM
Hallöchen! I try to distribute a Python application with i18n files (.mo). My setup.py says: ... data_files = [('share/locale/de/LC_MESSAGES', ['po/de/felo.mo'])], packages = ['felo'], package_dir = {'felo': 'src'}, The directory structure seen from setup.py is: ./setup.py po/ src/ This works perfectly with the bdist_dumb command. However, when I try to generate an RPM, it says: ... running install_data creating /var/tmp/Felo-1.0-1-buildroot/usr/share creating /var/tmp/Felo-1.0-1-buildroot/usr/share/locale creating /var/tmp/Felo-1.0-1-buildroot/usr/share/locale/de creating /var/tmp/Felo-1.0-1-buildroot/usr/share/locale/de/LC_MESSAGES error: can't copy 'po/de/felo.mo': doesn't exist or not a regular file error: Bad exit status from /var/tmp/rpm-tmp.6388 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6388 (%install) error: command 'rpmbuild' failed with exit status 1 What can I do about it? Thank you! Tschö, Torsten. -- Torsten Bronger, aquisgrana, europa vetus ICQ 264-296-646 (See http://ime.webhop.org for Jabber, MSN, etc.)
participants (1)
-
Torsten Bronger