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 [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
