[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] distutils/kde questions
From: David Boddie <david () boddie ! org ! uk>
Date: 2007-12-21 1:14:12
Message-ID: 200712210214.12619.david () boddie ! org ! uk
[Download RAW message or body]
On Wed Dec 19 12:38:39 GMT 2007, Giacomo Lacava wrote:
> For my small apps, I used to maintain my own ad-hoc little installer
> scripts. I've finally given up on that and moved to distutils for my
> last project, KDelicious.
> However, I'm not really happy.
>
> Since I need to place some .desktop files in specific KDE directories,
> and these directories can be different depending on whether you want
> to install the extension for everyone or just one user, I had to add a
> custom "--useronly" option so that the installer knows where to really
> put those files. This is not clean, but what other options do I have?
You could perhaps check whether the user is running the script as root
and do the appropriate thing. Would that work?
David
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic