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


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

dh_python3-ply lintian warning

Started byOle Streicher <olebole@debian.org>
First post2018-10-20 12:30 +0200
Last post2018-10-20 19:40 +0200
Articles 2 — 2 participants

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


Contents

  dh_python3-ply lintian warning Ole Streicher <olebole@debian.org> - 2018-10-20 12:30 +0200
    Re: dh_python3-ply lintian warning Piotr Ożarowski <piotr@debian.org> - 2018-10-20 19:40 +0200

#11037 — dh_python3-ply lintian warning

FromOle Streicher <olebole@debian.org>
Date2018-10-20 12:30 +0200
Subjectdh_python3-ply lintian warning
Message-ID<wKWG5-6wE-9@gated-at.bofh.it>
Hi,

when I use dh_python3-ply in d/rules like this:

--------------------------------------8<-----------------------------------
override_dh_python3:
	dh_python3-ply $$(find $(PYBUILD_DESTDIR_python3) -name '*tab.py')
	dh_python3
--------------------------------------8<-----------------------------------

I get the following lintian warnings about the generated files:

W: python3-astropy: python-module-in-wrong-location usr/lib/python3.7/dist-packages/astropy/ usr/lib/python3/dist-packages/astropy/
W: python3-astropy: python-module-in-wrong-location usr/lib/python3.7/dist-packages/astropy/coordinates/ usr/lib/python3/dist-packages/astropy/coordinates/
W: python3-astropy: python-module-in-wrong-location usr/lib/python3.7/dist-packages/astropy/coordinates/angle_lextab.py usr/lib/python3/dist-packages/astropy/coordinates/angle_lextab.py

How can I fix that?

Best regards

Ole

[toc] | [next] | [standalone]


#11038

FromPiotr Ożarowski <piotr@debian.org>
Date2018-10-20 19:40 +0200
Message-ID<wL3od-1YM-25@gated-at.bofh.it>
In reply to#11037
[Ole Streicher, 2018-10-20]
> W: python3-astropy: python-module-in-wrong-location usr/lib/python3.7/dist-packages/astropy/ usr/lib/python3/dist-packages/astropy/
> W: python3-astropy: python-module-in-wrong-location usr/lib/python3.7/dist-packages/astropy/coordinates/ usr/lib/python3/dist-packages/astropy/coordinates/
> W: python3-astropy: python-module-in-wrong-location usr/lib/python3.7/dist-packages/astropy/coordinates/angle_lextab.py usr/lib/python3/dist-packages/astropy/coordinates/angle_lextab.py
> 
> How can I fix that?

try adding --verbose to dh_python3 (it will probably mention some
diffs - if they're cosmetic, remove files from versioned dir)
-- 
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