[prev in list] [next in list] [prev in thread] [next in thread]
List: python-distutils-sig
Subject: [Distutils] trouble with data_files + RPM
From: bronger () physik ! rwth-aachen ! de (Torsten Bronger)
Date: 2006-12-12 8:27:08
Message-ID: 87hcw1bjtv.fsf () wilson ! homeunix ! com
[Download RAW message or body]
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.)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic