cmake for python projects (was: KDE/kdegames)

Wolfgang Rohdewald wolfgang at rohdewald.de
Mon Sep 27 14:35:34 CEST 2010


On Montag 27 September 2010, Jonathan Riddell wrote:

> README.packagers will do but I still prefer my method of
> giving a build time error unless the packager has overridden
> it.
> 
> "Developers do not need cmake for Python development at all."
> this isn't necessarily right, there might well be items that
> need to be installed in the right place.

I deleted that.
 
> "Distribution packagers do NOT want cmake to error out on
> missing runtime dependencies" as above, I'm a packager and
> I'd rather it did, I'd certainly prefer to have warnings.

I changed that to "Most distribution packagers" (namely
Sune Vuorela/Debian and Johannes Obermayr/Suse do not want
them, while you do. I do not know about others). 

> "Build time dependencies. There is not much that needs to be
> compiled for a Python project.  Mainly the byte-compiled
> *.pyc files."  In Debian-based distros we don't byte compile
> at build time but rather at install time.

That seems to be the best solution to me. I put that into
the wiki.

-- 
Wolfgang


More information about the Kde-buildsystem mailing list