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


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

package_data in python package

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news.albasani.net!tahina.priv.at!bofh.it!news.nic.it!robomod
From Félix Sipma <felix+debian@gueux.org>
Newsgroups linux.debian.maint.python
Subject package_data in python package
Date Mon, 28 Oct 2019 15:40:01 +0100
Message-ID <yWelz-2Sv-7@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Oct 28 14:35:11 2019
Old-Return-Path <felix+debian@gueux.org>
X-Amavis-Spam-Status No, score=-12.18 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Greylist delayed 551 seconds by postgrey-1.36 at bendel; Mon, 28 Oct 2019 14:35:00 UTC
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=gueux.org; h= user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received:received; s=gueux.org; t=1572272747; x= 1574087148; bh=IU94Ltnu2UMLqdVwFE0SwLlb2TfkcBnku+hqi2L70LA=; b=k mzw3DHdhQIxxN4yS4dRu40iczAJUUWnK+XQxiAZ+Hp+30YCP2YlWz4SO3GERugXK VSS0FeCpICWaM+IVEldpyD77urUPEN7usuw99O5RbMTunU48YgYnpc/cpVxWEK38 c63JZnCYLh7/yrLIi8fxFbSEpWTFmiPJxDhe/yylac=
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="azorbfgororpl7rk"
Content-Disposition inline
User-Agent NeoMutt/20180716
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17519
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20191028142544.zlzgobcvpm3yzbvt@capeo.gueux.org
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 28 Oct 2019 15:25:44 +0100
X-Original-Message-ID <20191028142544.zlzgobcvpm3yzbvt@capeo.gueux.org>
Xref csiph.com linux.debian.maint.python:11958

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

I have a problem with package_data files in a package ("khard", which is
not currently under the debian-python umbrella but it is on my todo list
to transfer it, I just didn't find the time yet) not getting installed.

I submitted an error upstream,
https://github.com/scheibler/khard/issues/231 but they can't reproduce
the problem.

I "fixed" the issue by adding a patch to add "khard/data/" to
MANIFEST.in (with "recursive-include khard/data/ *"), but I don't get
why this directory doesn't get installed by default... Is it because of
a limitation of dh-python? Have I forgot an option somewhere?

Link to the patch and the source of the package:
https://sources.debian.org/src/khard/0.15.0-2/debian/patches/0003-add-khard-data-dir-to-MANIFEST.in.patch/

Thanks for your help!

-- 
Félix

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


Thread

package_data in python package Félix Sipma <felix+debian@gueux.org> - 2019-10-28 15:40 +0100
  Re: package_data in python package Scott Kitterman <debian@kitterman.com> - 2019-10-28 15:50 +0100
    Re: package_data in python package Félix Sipma <felix+debian@gueux.org> - 2019-10-28 16:10 +0100
      Re: package_data in python package Scott Kitterman <debian@kitterman.com> - 2019-10-28 16:20 +0100
        Re: package_data in python package Félix Sipma <felix+debian@gueux.org> - 2019-10-28 16:30 +0100
          Re: package_data in python package Ole Streicher <olebole@debian.org> - 2019-10-28 17:20 +0100

csiph-web