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


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

Re: Installing data files with pybuild

From Louis-Philippe Véronneau <pollo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Installing data files with pybuild
Date 2021-12-01 19:40 +0100
Message-ID <DpCGn-5Gh-13@gated-at.bofh.it> (permalink)
References <DpBAC-55f-11@gated-at.bofh.it> <DpBAC-55f-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On 2021-12-01 12 h 28, Andrey Rahmatullin wrote:
> 
>> Only the .py files are currently included in the build; what is the
>> best way to include all of the data files after the build step and
>> before the test step, and then to ensure they are included in the
>> final package?
> Apart from fixing setup.py? execute_after_dh_auto_install I guess.

Or you can use debian/foobar.install to install the missing files in the
right location, and keep your d/rules file cleaner :)

ex. (man dh_install):

https://sources.debian.org/src/sublime-music/0.11.16-1/debian/sublime-music.install/

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄

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


Thread

Re: Installing data files with pybuild Andrey Rahmatullin <wrar@debian.org> - 2021-12-01 18:30 +0100
  Re: Installing data files with pybuild Louis-Philippe Véronneau <pollo@debian.org> - 2021-12-01 19:40 +0100
    Re: Installing data files with pybuild Julian Gilbey <jdg@debian.org> - 2021-12-01 22:50 +0100
      Re: Installing data files with pybuild Stefano Rivera <stefanor@debian.org> - 2021-12-02 02:30 +0100

csiph-web