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


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

Re: .egg-info for entry points during dh_auto_test

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Michael Fladischer <michael@fladi.at>
Newsgroups linux.debian.maint.python
Subject Re: .egg-info for entry points during dh_auto_test
Date Sun, 31 Oct 2021 14:50:01 +0100
Message-ID <DejnH-6w-3@gated-at.bofh.it> (permalink)
References <DaLVf-606-7@gated-at.bofh.it> <De2PT-6Md-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Oct 31 13:40:59 2021
Old-Return-Path <michael@fladi.at>
X-Amavis-Spam-Status No, score=-7.001 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Thunderbird/94.0
Content-Language en-GB
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19474
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/c5e35e76-6b40-370b-a217-e036d6f326f3@fladi.at
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 31 Oct 2021 14:40:41 +0100
X-Original-Message-ID <c5e35e76-6b40-370b-a217-e036d6f326f3@fladi.at>
X-Original-References <33f3616e-50d7-93d4-4b21-ae818a6dec6f@fladi.at> <YX2lVjTi8LgwBhN6@mitya57.me>
Xref csiph.com linux.debian.maint.python:13674

Show key headers only | View raw


Hi Dmitry,

Am 30.10.2021 um 22:04 schrieb Dmitry Shachnev:
> I am a bit late, but nobody in this thread mentioned debian/pybuild.testfiles.
> 
> It is a list of files or directories that pybuild will copy to its build
> directory before running the tests, and delete after running them.
> 
> If you have *.egg-info in the orig tarball, just add that file (and the tests
> directory itself) to debian/pybuild.testfiles.

thanks, I wasn't aware of this, I'll use it instead of 
PYBUILD_(BEFORE|AFTER)_TEST to copy test assets into place.

> If no, also add this line to debian/rules:
> 
> export PYBUILD_BEFORE_TEST={interpreter} setup.py egg_info

That seems like the best/most elegant solution to me. Thanks for 
sharing! So d/pybuild.testfiles is taken into account after 
PYBUILD_BEFORE_TEST?

Regards,
Michael

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


Thread

.egg-info for entry points during dh_auto_test Michael Fladischer <michael@fladi.at> - 2021-10-21 21:30 +0200
  Re: .egg-info for entry points during dh_auto_test Stefano Rivera <stefanor@debian.org> - 2021-10-22 05:50 +0200
    Re: .egg-info for entry points during dh_auto_test Stuart Prescott <stuart@debian.org> - 2021-10-22 09:20 +0200
    Re: .egg-info for entry points during dh_auto_test Michael Fladischer <michael@fladi.at> - 2021-10-22 16:30 +0200
  Re: .egg-info for entry points during dh_auto_test Thomas Goirand <zigo@debian.org> - 2021-10-22 23:30 +0200
  Re: .egg-info for entry points during dh_auto_test Dmitry Shachnev <mitya57@debian.org> - 2021-10-30 22:10 +0200
    Re: .egg-info for entry points during dh_auto_test Michael Fladischer <michael@fladi.at> - 2021-10-31 14:50 +0100
      Re: .egg-info for entry points during dh_auto_test Dmitry Shachnev <mitya57@debian.org> - 2021-10-31 15:20 +0100

csiph-web