Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12899

Re: Packaging a python module when already using cmake buildsystem

From Markus Frosch <lazyfrosch@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Packaging a python module when already using cmake buildsystem
Date 2020-09-25 11:10 +0200
Message-ID <ASRTP-6Ak-3@gated-at.bofh.it> (permalink)
References <ASRTP-6Ak-5@gated-at.bofh.it> <ASRTP-6Ak-7@gated-at.bofh.it> <ASRTP-6Ak-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Packaging a python module when already using cmake buildsystem Markus Frosch <lazyfrosch@debian.org> - 2020-09-25 11:10 +0200

csiph-web