[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging a python module when already using cmake buildsystem



On Thu, 2020-09-24 at 22:01 +0200, Gregor Riepl wrote:
> > It has a setup.py and uses SetupTools and DistUtils so I was hoping to
> > add --with Python3 and hope that a lot of magic would be done by pybuild.
> > However as I'm already using cmake as the build system I can't stick
> > pybuild in there.
> 
> We use both pybuild and cmake for a couple of SIP packages:
> https://salsa.debian.org/3dprinting-team/libarcus
> 
> However, in this case, upstream doesn't provide a setup.py at all, so
> cmake is used automatically.
> 
> I do believe that you can force the use of cmake by adding a "--with
> cmake" - have you tried that?

Here is another example:

https://salsa.debian.org/pkg-rpm-team/createrepo-c/-/blob/debian/master/debian/rules

-- 
markus@lazyfrosch.de
https://lazyfrosch.de




Reply to: