Michal Čihař wrote:
> currently only distutils build class does support building for multiple
> python versions. However python modules are also shipped in various
> other package which use different build systems (rpm with autoconf, 
> Gammu with CMake or pyexiv2 with SCons, when looking at mine packages).
> 
> It would be great if this functionality could be generic, so that I do
> not need to duplicate all the code to build using all python version in
> every package.
> 
> I know this can be quite tricky, because each package might take
> different parameters to achieve this, so this is something what needs to
> be configurable by parameter, something like:
> 
>     dh_auto_configure --build-system=cmake --multi-python=-DBUILD_PYTHON=
> 
> What would expand to invoking cmake several times passing it
> - -DBUILD_PYTHON=/usr/bin/pythonX.Y for all Python versions it should use.

This seems far too much an edge case and complicated (and unlikely to be
usable for everything anyway) to do.
 
-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to