View Single Post
Posts: 4 | Thanked: 2 times | Joined on Dec 2010
#1
have problem with setup.py
Code:
from distutils.core import setup

setup(name='ex5home', version='1.0.0', scripts=['bin/ex5'], data_files=[ ('share/pixmaps/', ['ex5home.JPG']), ('share/applications/hildon/', ['ex5home.desktop']), ('share/dbus-1/services/', ['ex5home.service']), ], )
and when i do python2.5 setup.py install

it shows me

Code:
running install

running build

running build_scripts

creating build

creating build/scripts-2.5

copying and adjusting bin/ex5 -> build/scripts-2.5

changing mode of build/scripts-2.5/ex5 from 664 to 775 running install_scripts

copying build/scripts-2.5/ex5 -> /usr/bin

changing mode of /usr/bin/ex5 to 775

running install_data

error: can't copy 'ex5home.JPG': doesn't exist or not a regular file
but it exists and it is ok

how i can fix?