emersion / bups

Simple GUI for Bup, a very efficient backup system.
MIT License
95 stars 8 forks source link

python setup.py: can't copy 'locale/fr/LC_MESSAGES/bups.mo' #9

Closed gutenye closed 9 years ago

gutenye commented 9 years ago

I try to create an AUR package in Archlinux, and I try to run python2 setup.py got an error

...
/usr/bin/python2 -O /tmp/tmpj0_y5z.py
removing /tmp/tmpj0_y5z.py
running install_scripts
creating /home/guten/dev/one/aur/bups/pkg/bups/usr/bin
copying build/scripts-2.7/bups -> /home/guten/dev/one/aur/bups/pkg/bups/usr/bin
changing mode of /home/guten/dev/one/aur/bups/pkg/bups/usr/bin/bups to 755
running install_data
creating /home/guten/dev/one/aur/bups/pkg/bups/usr/share
creating /home/guten/dev/one/aur/bups/pkg/bups/usr/share/applications
copying bin/bups.desktop -> /home/guten/dev/one/aur/bups/pkg/bups/usr/share/applications
creating /home/guten/dev/one/aur/bups/pkg/bups/usr/share/locale
creating /home/guten/dev/one/aur/bups/pkg/bups/usr/share/locale/fr
creating /home/guten/dev/one/aur/bups/pkg/bups/usr/share/locale/fr/LC_MESSAGES
error: can't copy 'locale/fr/LC_MESSAGES/bups.mo': doesn't exist or not a regular file

I only found one bups.po file

$  ls bups-0.4.1/locale/fr/LC_MESSAGES/        
bups.po
gutenye commented 9 years ago

I solved it by myself with tools/makemo.sh

Now, the bups Archlinux AUR package is avaliable at https://aur.archlinux.org/packages/bups/

emersion commented 9 years ago

Ow, thanks a lot! :-D

I'll add the link to README.md.