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


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

Re: Packaging a python module when already using cmake buildsystem

Started byMarkus Frosch <lazyfrosch@debian.org>
First post2020-09-25 11:10 +0200
Last post2020-09-25 11:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#12899 — Re: Packaging a python module when already using cmake buildsystem

FromMarkus Frosch <lazyfrosch@debian.org>
Date2020-09-25 11:10 +0200
SubjectRe: Packaging a python module when already using cmake buildsystem
Message-ID<ASRTP-6Ak-3@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web