Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12560
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Uwe Steinmann <uwe@steinmann.cx> |
| Newsgroups | linux.debian.maint.python |
| Subject | Best practice on how to package a python module along with a c++ program |
| Date | Fri, 08 May 2020 14:10:02 +0200 |
| Message-ID | <A49Zg-2WX-3@gated-at.bofh.it> (permalink) |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri May 8 12:07:27 2020 |
| Old-Return-Path | <uwe@steinmann.cx> |
| X-Amavis-Spam-Status | No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| X-Greylist | delayed 365 seconds by postgrey-1.36 at bendel; Fri, 08 May 2020 12:07:15 UTC |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LiQwW4YX+w4axhAx" |
| Content-Disposition | inline |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/18248 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20200508105908.GG4188@t560.steinmann.cx |
| Approved | robomod@news.nic.it |
| Lines | 52 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 8 May 2020 12:59:08 +0200 |
| X-Original-Message-ID | <20200508105908.GG4188@t560.steinmann.cx> |
| Xref | csiph.com linux.debian.maint.python:12560 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi, not sure if this is the right list, but it was my closes guess. I'm packaging a c++ program (horizon-eda) which also contains a python module written in c++. Upstream's Makefile has a target 'pymodule' and 'make pymodule' creates horizon.so in the build directory. According to upstream this has to be copied іnto python's sys.path I thought about overriding dh_auto_build with override_dh_auto_build: make pymodule dh_auto_build which should at least build the module. But it still needs to be installed at the right place. What would be the preferred way? Uwe -- MMK GmbH, Fleyer Str. 196, 58097 Hagen Uwe.Steinmann@mmk-hagen.de Tel: 02331 840446 Fax: 02331 843920
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Best practice on how to package a python module along with a c++ program Uwe Steinmann <uwe@steinmann.cx> - 2020-05-08 14:10 +0200
Re: Best practice on how to package a python module along with a c++ program Scott Kitterman <debian@kitterman.com> - 2020-05-08 16:20 +0200
Re: Best practice on how to package a python module along with a c++ program Uwe Steinmann <uwe@steinmann.cx> - 2020-05-12 14:20 +0200
csiph-web