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


Groups > linux.debian.maint.python > #8423

Re: Compiled bytecode installed, because test suite was run

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
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 <rnpAS-7Is-11@gated-at.bofh.it> (permalink)
References <rmXEB-pr-3@gated-at.bofh.it> <rn0sP-2QN-21@gated-at.bofh.it> <rnhjX-8w8-1@gated-at.bofh.it> <rnoYa-7qk-7@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Apr 13 09:45:19 2016
Old-Return-Path <piotr@ozarowski.pl>
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 <debian-python@lists.debian.org> archive/latest/13751
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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

Show key headers only | View raw


> 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

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Compiled bytecode installed, because test suite was run Ben Finney <ben+debian@benfinney.id.au> - 2016-04-12 06:00 +0200
  Re: Compiled bytecode installed, because test suite was run Piotr Ożarowski <piotr@debian.org> - 2016-04-12 09:00 +0200
    Re: Compiled bytecode installed, because test suite was run Ben Finney <ben+debian@benfinney.id.au> - 2016-04-12 09:40 +0200
      Re: Compiled bytecode installed, because test suite was run Piotr Ożarowski <piotr@debian.org> - 2016-04-12 10:00 +0200
    Re: Compiled bytecode installed, because test suite was run Ben Finney <ben+debian@benfinney.id.au> - 2016-04-13 03:00 +0200
      Re: Compiled bytecode installed, because test suite was run Piotr Ożarowski <piotr@debian.org> - 2016-04-13 11:10 +0200
        Re: Compiled bytecode installed, because test suite was run Piotr Ożarowski <piotr@debian.org> - 2016-04-13 11:50 +0200
        Re: Compiled bytecode installed, because test suite was run Ben Finney <ben+debian@benfinney.id.au> - 2016-04-13 12:50 +0200
          Re: Compiled bytecode installed, because test suite was run Piotr Ożarowski <piotr@debian.org> - 2016-04-13 14:00 +0200

csiph-web