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


Groups > linux.debian.maint.python > #10759 > unrolled thread

How to properly use dh_python3 as lintian suggests to move files from usr/lib/python3.7 to usr/lib/python3

Started byAndreas Tille <andreas@an3as.eu>
First post2018-08-04 08:00 +0200
Last post2018-08-04 10:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  How to properly use dh_python3 as lintian suggests to move files  from usr/lib/python3.7 to usr/lib/python3 Andreas Tille <andreas@an3as.eu> - 2018-08-04 08:00 +0200
    Re: How to properly use dh_python3 as lintian suggests to move files  from usr/lib/python3.7 to usr/lib/python3 Piotr Ożarowski <piotr@debian.org> - 2018-08-04 10:20 +0200

#10759 — How to properly use dh_python3 as lintian suggests to move files from usr/lib/python3.7 to usr/lib/python3

FromAndreas Tille <andreas@an3as.eu>
Date2018-08-04 08:00 +0200
SubjectHow to properly use dh_python3 as lintian suggests to move files from usr/lib/python3.7 to usr/lib/python3
Message-ID<wiXLz-56O-3@gated-at.bofh.it>
Hi,

for the new version of python-pyvcf[1] I get

W: python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/ usr/lib/python3/dist-packages/vcf/
W: python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/parser.py usr/lib/python3/dist-packages/vcf/parser.py


I'm curious what to do to fix this.

Kind regards

     Andreas.


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

-- 
http://fam-tille.de

[toc] | [next] | [standalone]


#10762

FromPiotr Ożarowski <piotr@debian.org>
Date2018-08-04 10:20 +0200
Message-ID<wiZX3-6B8-11@gated-at.bofh.it>
In reply to#10759
[Andreas Tille, 2018-08-04]
> for the new version of python-pyvcf[1] I get
> 
> W: python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/ usr/lib/python3/dist-packages/vcf/
> W: python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/parser.py usr/lib/python3/dist-packages/vcf/parser.py

my guess is 3.7's parser.py differs from the 3.6's one, invoke
dh_python3 with --verbose option - it will print the diff if any

> I'm curious what to do to fix this.

investigate if files can be merged (date stamp? hardcoded Python version?)
or leave it as it is. If there's no other file or there are other files
but there's no __init__.py file - interpreter will find it
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web