[openstack-dev] [all][packaging] Adding files to /etc in a package

Thomas Goirand zigo at debian.org
Thu Jul 2 01:26:41 UTC 2015

On 07/02/2015 02:07 AM, Tony Breeds wrote:
> On Wed, Jul 01, 2015 at 11:07:30PM +0000, Perry, Sean wrote:
>> BTW, see dh_bash-completion from the debhelper package. When in doubt about packaging on a deb based distro look at the debhelper tools source (which is perl).
>> -----Original Message-----
>> From: Perry, Sean 
>> Sent: Wednesday, July 01, 2015 4:04 PM
>> To: OpenStack Development Mailing List (not for usage questions)
>> Subject: RE: [openstack-dev] [all][packaging] Adding files to /etc in a package
>> According to Debian standards (which Ubuntu follows mostly) if a package
>> ships bash completion information that file belongs in /etc/bash_completion.d
>> with a file named after the package. You can look in that dir on an
>> Ubuntu/debian box and see the setup.
> Right, but I'm talking about python packaging.  Which is certainly closely
> related to system/distribution packaging, but lacks a lot of the machinery
> to get it right.

Correct. Python packaging is made for packaging ... python! Not
configuration files and other system bits.

> What I'm trying to do is:
> 1) make it simple for the 'developer' comsumers of the python package to use
>    bash completions (witghout needing the system packages)

Use the source, luke! Or write yourself a small shell script...

> 2) Help the system/distribution packagers or at the very least not make thier
>    life more difficult.

If you attempt to address this, you're making my life miserable. Please
don't do it, thanks.


Thomas Goirand (zigo)

More information about the OpenStack-dev mailing list