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


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

installation of script in a dedicated package

Started byPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
First post2023-06-16 12:40 +0200
Last post2023-06-16 22:50 +0200
Articles 2 — 1 participant

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


Contents

  installation of script in a dedicated package PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2023-06-16 12:40 +0200
    Re: installation of script in a dedicated package PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2023-06-16 22:50 +0200

#15023 — installation of script in a dedicated package

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2023-06-16 12:40 +0200
Subjectinstallation of script in a dedicated package
Message-ID<GHf21-ghff-11@gated-at.bofh.it>
Hello,

I try to update the silx package and I want to replace this call

python3 setup.py install_scripts -d debian/silx/usr/bin

with the right call without setup.py.

thanks for your help

Frederic

[toc] | [next] | [standalone]


#15024

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2023-06-16 22:50 +0200
Message-ID<GHoyl-gmXj-1@gated-at.bofh.it>
In reply to#15023
Hello Louis
 
> It seems the only thing this line does is to install /usr/bin/silx. This can be
> done 'manually' via
> dh_install (see man dh_install).

Yes it install only this script for now. I can do it by end. but in thaht case, I need to let python build the script from the entry point and then move it out of the pybuild directory.

> I personally tend to prefer having a file like 'debian/python3-silx.install'
> instead of having a
> 'dh_install' line in 'debian/rules', as it yields a 'cleaner' d/rules file.

I agree to disagree :). I like a lot the fact than I can see everythings going one for a package by opening
only one file. I am more productive this way. Especially when I work on lot's of packages. cut en past beetween rules files is a lot easyer.
the multipliction of the .install files seems to me a waste of time :).

les gouts et les couleurs :).

Cheers

Frederic and thanks for your time.

[toc] | [prev] | [standalone]


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


csiph-web