Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10740 > unrolled thread
| Started by | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| First post | 2018-08-02 09:30 +0200 |
| Last post | 2018-08-02 20:50 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.maint.python
how to deal with py-file-not-bytecompiled PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-08-02 09:30 +0200
Re: how to deal with py-file-not-bytecompiled Piotr Ożarowski <piotr@debian.org> - 2018-08-02 11:30 +0200
RE:how to deal with py-file-not-bytecompiled PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-08-02 12:00 +0200
Re: how to deal with py-file-not-bytecompiled Dmitry Shachnev <mitya57@debian.org> - 2018-08-02 19:40 +0200
RE:how to deal with py-file-not-bytecompiled PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-08-02 20:50 +0200
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2018-08-02 09:30 +0200 |
| Subject | how to deal with py-file-not-bytecompiled |
| Message-ID | <wigdz-4jN-1@gated-at.bofh.it> |
Hello, I am preparing the new silx package and I got these error messages from adequate This package produce the silx python module but install also a bunch of files for qtdesigner in the rules file with this command. # install the qtdesigner files only for the python3 package dh_install -p python3-silx qtdesigner_plugins/*.py /usr/lib/qt4/plugins/designer/python So I would like to know what is the proper way to deal with this. thanks for your help. Frederic 1m30.3s DEBUG: Starting command: ['adequate', '--root', '/var/run/schroot/mount/unstable-amd64-sbuild-0a8521f2-961d-11e8-8726-a0369f838f54-piuparts', 'python-silx-dbg', 'python-silx-dbgsym', 'python-silx-doc', 'python-silx', 'python3-silx-dbg', 'python3-silx-dbgsym', 'python3-silx', 'silx'] 1m30.6s DUMP: python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plot1dplugin.py python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plot2dplugin.py python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plotwidgetplugin.py python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plotwindowplugin.py 1m30.6s DEBUG: Command ok: ['adequate', '--root', '/var/run/schroot/mount/unstable-amd64-sbuild-0a8521f2-961d-11e8-8726-a0369f838f54-piuparts', 'python-silx-dbg', 'python-silx-dbgsym', 'python-silx-doc', 'python-silx', 'python3-silx-dbg', 'python3-silx-dbgsym', 'python3-silx', 'silx'] 1m30.6s ERROR: FAIL: Inadequate results from running adequate! python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plot1dplugin.py python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plot2dplugin.py python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plotwidgetplugin.py python3-silx: py-file-not-bytecompiled /usr/lib/qt4/plugins/designer/python/plotwindowplugin.py 1m30.6s ERROR: FAIL: Running adequate resulted in inadequate tags found: py-file-not-bytecompiled
[toc] | [next] | [standalone]
| From | Piotr Ożarowski <piotr@debian.org> |
|---|---|
| Date | 2018-08-02 11:30 +0200 |
| Message-ID | <wii5I-5yb-5@gated-at.bofh.it> |
| In reply to | #10740 |
[PICCA Frederic-Emmanuel, 2018-08-02] > Hello, I am preparing the new silx package and I got these error messages from adequate > > This package produce the silx python module but install also a bunch of files for qtdesigner > in the rules file with this command. > > # install the qtdesigner files only for the python3 package > dh_install -p python3-silx qtdesigner_plugins/*.py /usr/lib/qt4/plugins/designer/python > > > So I would like to know what is the proper way to deal with this. override_dh_python3: dh_python3 # if you have files installed in standard directories or in other binary packages dh_python3 -p python3-silx /usr/lib/qt4/plugins/designer/python/ see "private dirs" in dh_python3's manpage -- GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
[toc] | [prev] | [next] | [standalone]
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2018-08-02 12:00 +0200 |
| Message-ID | <wiiyJ-5Il-7@gated-at.bofh.it> |
| In reply to | #10741 |
thanks a lot
[toc] | [prev] | [next] | [standalone]
| From | Dmitry Shachnev <mitya57@debian.org> |
|---|---|
| Date | 2018-08-02 19:40 +0200 |
| Message-ID | <wipJU-1Cy-9@gated-at.bofh.it> |
| In reply to | #10740 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Aug 02, 2018 at 06:50:59AM +0000, PICCA Frederic-Emmanuel wrote: > Hello, I am preparing the new silx package and I got these error messages from adequate > > This package produce the silx python module but install also a bunch of files for qtdesigner > in the rules file with this command. > > # install the qtdesigner files only for the python3 package > dh_install -p python3-silx qtdesigner_plugins/*.py /usr/lib/qt4/plugins/designer/python A bit off-topic, but you should not use Qt 4 in new packages. See https://lists.debian.org/debian-devel-announce/2017/08/msg00006.html. -- Dmitry Shachnev
[toc] | [prev] | [next] | [standalone]
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2018-08-02 20:50 +0200 |
| Message-ID | <wiqPD-2e9-3@gated-at.bofh.it> |
| In reply to | #10744 |
> A bit off-topic, but you should not use Qt 4 in new packages. > See https://lists.debian.org/debian-devel-announce/2017/08/msg00006.html. I did the migration to qtcreator :)) do not worry Fred
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web