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


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

Questions about including tests/ directory into package

From Sao I Kuan <saoikuan@gmail.com>
Newsgroups linux.debian.maint.python
Subject Questions about including tests/ directory into package
Date 2020-03-19 07:30 +0100
Message-ID <zLWQO-zz-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I'm newcomer to Debian packaging, and trying to add the autopkgtest
test script into python-tinyalign[1].

    [1] https://salsa.debian.org/med-team/python-tinyalign

And now I'm facing a (maybe simple) problem.

The upstream test files are located in tests/ directory, but seems
this directory is excluded during packaging.
I have no idea how to include this tests/ directory.

1. Please let me know is there any variable for including the specific
file/directory.
2. Why and when the tests/ directory excluded? I tried to find the
logic in dh-python [2], but failed.

    [2] https://salsa.debian.org/python-team/tools/dh-python

3. Is this a correct approach for including the excluded test materials?

Always appreciates.

Sincerely,

Sao I Kuan
saoikuan@gmail.com

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


Thread

Questions about including tests/ directory into package Sao I Kuan <saoikuan@gmail.com> - 2020-03-19 07:30 +0100
  Re: Questions about including tests/ directory into package Diane Trout <diane@ghic.org> - 2020-03-19 19:00 +0100
    Re: Questions about including tests/ directory into package Sao I Kuan <saoikuan@gmail.com> - 2020-03-20 12:30 +0100
  Re: Questions about including tests/ directory into package Sandro Tosi <morph@debian.org> - 2020-03-21 00:50 +0100

csiph-web