setup.py install does not honor --prefix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnome Wallchanger |
New
|
Undecided
|
Unassigned |
Bug Description
The source tarball's setup.py does not honor 'python setup.py install --prefix=$HOME' correctly. The initial installation fails with
---8<---
[267 rhys@gauss gnome-wallchang
running install
running build
running build_scripts
creating build
creating build/scripts-2.5
copying random-wallpaper -> build/scripts-2.5
copying gnome-wallchang
running install_scripts
copying build/scripts-
copying build/scripts-
changing mode of /h2/rhys/
changing mode of /h2/rhys/
running install_data
creating /h2/rhys/
creating /h2/rhys/
copying glade/wallchang
copying random-wallpaper.py -> /h2/rhys/
copying gnome-wallchang
copying setup.py -> /h2/rhys/
copying lib/config.py -> /h2/rhys/
copying lib/lister.py -> /h2/rhys/
copying wallchanger.png -> /h2/rhys/
copying wallchanger.desktop -> /usr/share/
error: /usr/share/
---8<---
Later, attempting to run $HOME/bin/
---8<---
[253 rhys@gauss bin]$ ./gnome-
cd: 2: can't cd to /usr/share/
/usr/bin/python: can't open file '/usr/share/
---8<---
It seems that both the install and installed helper "binary" fail to allow an installation prefix. This prevents the application from being used on a system where the user does not have root access.