Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Piotr =?utf-8?Q?O=C5=BCarowski?= Newsgroups: linux.debian.maint.python Subject: Re: Compiled bytecode installed, because test suite was run Date: Wed, 13 Apr 2016 11:50:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Apr 13 09:45:19 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 Mail-Followup-To: debian-python@lists.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: Debian GNU/Linux (4.3.0-0.bpo.1-amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailing-List: archive/latest/13751 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20160413094500.GO2764@sar0.p1otr.com Approved: robomod@news.nic.it Lines: 22 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 13 Apr 2016 11:45:00 +0200 X-Original-Message-ID: <20160413094500.GO2764@sar0.p1otr.com> X-Original-References: <857fg31o56.fsf@benfinney.id.au> <20160412065156.GF2764@sar0.p1otr.com> <858u0iz5v9.fsf@benfinney.id.au> <20160413090247.GN2764@sar0.p1otr.com> Xref: csiph.com linux.debian.maint.python:8423 > PYBUILD_NAME and PYBUILD_DESTDIR are pybuild related, dh_python3 doesn't > use them. 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) FTR: PYBUILD_DESTDIR is like DESTDIR but allows to set different dirs for each interpreter and PYBUILD_NAME is something that can be used if all your PYBUILD_DESTDIRs follow standards (so instead of defining destrid for Python 3, Python 2, debug interpreters, pypy, etc. you can just define a name that will be used to set destdirs correcly - all this is optional, you can use dh_install if you want) > That said, removing __pycache__ everywhere is harmless and dh_python3 > should remove it even if you don't tell it to check given dir. I will > change that. actually that should be the case already so I don't know why it didn't work for you. My guess is you didn't run dh_python3 at all -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645