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

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Markus Frosch <lazyfrosch@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Packaging a python module when already using cmake buildsystem
Date Fri, 25 Sep 2020 11:10:01 +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>
X-Original-To Gregor Riepl <onitake@gmail.com>, debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Sep 25 09:08:49 2020
Old-Return-Path <lazyfrosch@debian.org>
X-Amavis-Spam-Status No, score=-6.363 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, SARE_MSGID_LONG40=0.637] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
X-Greylist delayed 466 seconds by postgrey-1.36 at bendel; Fri, 25 Sep 2020 09:08:37 UTC
Content-Type text/plain; charset="UTF-8"
User-Agent Evolution 3.36.4-2
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Last-Tls-Session-Version TLSv1.3
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18656
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/1a21a06ef66bb8193ce24e14d2c86778142816a0.camel@debian.org
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 25 Sep 2020 11:00:41 +0200
X-Original-Message-ID <1a21a06ef66bb8193ce24e14d2c86778142816a0.camel@debian.org>
X-Original-References <DB8PR08MB5244F44FF6B0043E43A6EB53F7390@DB8PR08MB5244.eurprd08.prod.outlook.com> <196751ca-e8fc-f975-e869-8a5b352531e0@gmail.com>
Xref csiph.com linux.debian.maint.python:12899

Show key headers only | 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