maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   problem with seutp.py (https://talk.maemo.org/showthread.php?t=66589)

fege 2010-12-05 16:36

problem with seutp.py
 
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 2010-12-05 17:07

Re: problem with seutp.py
 
Unix is case sensitive, check that it's actually .JPG and not .jpg

fege 2010-12-05 17:21

Re: problem with seutp.py
 
i have tried both but i have the same error, and if i remove that i have the same error but with .desktop file

fege 2010-12-06 15:13

Re: problem with seutp.py
 
anyone can help me?


All times are GMT. The time now is 01:42.

vBulletin® Version 3.8.8