Active Topics

 


Reply
Thread Tools
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?
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#2
Unix is case sensitive, check that it's actually .JPG and not .jpg
 
Posts: 4 | Thanked: 2 times | Joined on Dec 2010
#3
i have tried both but i have the same error, and if i remove that i have the same error but with .desktop file
 
Posts: 4 | Thanked: 2 times | Joined on Dec 2010
#4
anyone can help me?
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:11.