Path: csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Ben Finney Newsgroups: linux.debian.maint.python Subject: Re: Compiled bytecode installed, because test suite was run Date: Wed, 13 Apr 2016 12:50:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Apr 13 10:40:16 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-8.695 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -6.1 X-Injected-Via-Gmane: http://gmane.org/ Lines: 31 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:pNAUGUYxoak/ltXbAL4JbykmOPY= X-Mailing-List: archive/latest/13752 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/85shypyepw.fsf@benfinney.id.au Approved: robomod@news.nic.it Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 13 Apr 2016 20:39:55 +1000 X-Original-Message-ID: <85shypyepw.fsf@benfinney.id.au> X-Original-References: <857fg31o56.fsf@benfinney.id.au> <20160412065156.GF2764@sar0.p1otr.com> <858u0iz5v9.fsf@benfinney.id.au> <20160413090247.GN2764@sar0.p1otr.com> X-Original-X-Complaints-To: usenet@ger.gmane.org Xref: csiph.com linux.debian.maint.python:8424 Piotr Ożarowski writes: > [Ben Finney, 2016-04-13] > > One complication may have been that the directory name to which the > > library was installed (with the “--install-lib” option) does not > > contain the Debian package name. > > […] By changing --install-lib you modified destination directory > anyway (and you should point dh_python3 to the same dir - it doesn't > know about pybuild's existence) I'm not invoking ‘dh_python3’ directly, I am telling ‘dh’ to do it: dh $@ --with python3 --buildsystem=pybuild To my mind that should cause Pybuild to tell ‘dh-python3’ everything it needs to know, because I've configured Pybuild: package_share_dir = /usr/share/${PACKAGE_NAME} export PYBUILD_INSTALL_ARGS ?= \ --install-lib=${package_share_dir}/ \ --install-scripts=${package_share_dir}/ So with Pybuild configured correctly, that should mean I don't need to also fiddle manually with ‘dh_python3’. Yes? -- \ “Capitalism has destroyed our belief in any effective power but | `\ that of self interest backed by force.” —George Bernard Shaw | _o__) | Ben Finney