On Sun, 22 Jun 2003 22:40:57 +0200 Simon Edwards <[EMAIL PROTECTED]> wrote:
> Hi all, > > Anyone have any experiance with distributing PyKDE programs? I thinking mostly > about installation of things like images/icons and extra datafiles that the > program might use, and that need to be installed under the KDE installation > dir tree. C++ stuff uses "configure, make, make install", does anything > equivalent exist for Python KDE programs? > > I'm aware of distutils, but it doesn't really cover KDE stuff. I could use > distutils but I think that I would have to extend it a fair bit and at the > same time not use much of its default functionality. > I admit that there is a learning curve before you can specialize distutils for special needs, but it is perfectly possible (I am using distutils for PyQwt -- a PyQt based Python extension for Qwt). If you use it correctly, you do not have to worry about RPMs (or Windows binary installers) anymore, because distutils does that for you. If your only problem is to place images/icons/datafiles in specialized directories: this is very easy with distutils (I use it to put my docs in /usr/share/doc/PyQwt-x.x). In fact the default install-data command lets you install stuff anywhere on your system without any hacking. Gerard _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
