<div dir="ltr">There has been a bit of back[1] and forth[2][3][4][5] between at least one packaging group and a few folks who are trying to define data files (config) in the setup.cfg to aid/ease installation within virtual environments.<div><br></div><div>From what I can tell, there has been an issue with setuptools that makes this a particularly sticky situation and difficult to address in PBR via an option like --sysconfdir due to a disagreement between setuptools and disttools disagreeing upon the meaning of "data-files".  [6]</div><div><br></div><div>Before this turns into a nightmare of add-patches/revert/add/revert and making things highly inconsistent within OpenStack, I'd like to get feedback from the packaging teams on where this impacts them. I know that a number of folks carry effectively this patch internally to make working with VENVs easier.</div><div><br></div><div>We should absolutely address this in setuptools/distutils/etc but a clear direction forward so that the projects under OpenStack remain consistent for users, developers, and packagers would be good at this point.</div><div><div><br></div><div>I know that keystone has had a lot of work done to ensure we can work in most "general" environments, but installing the data-files within a VENV is much more simple than a bunch of special casing to "find" the config files.</div><div><br></div><div>In short, I think OpenStack needs to define (even if it's a short period of time) what we consider "data-files", we can always revisit this when/if we have a clear path forward via PBR, setuptools, disttools, etc.</div><div><br></div><div>[1] <a href="https://review.openstack.org/#/c/322086/">https://review.openstack.org/#/c/322086/</a></div><div>[2] <a href="https://review.openstack.org/#/c/326152/">https://review.openstack.org/#/c/326152/</a></div></div><div>[3] <a href="http://git.openstack.org/cgit/openstack/neutron/tree/setup.cfg#n24">http://git.openstack.org/cgit/openstack/neutron/tree/setup.cfg#n24</a></div><div>[4] <a href="http://git.openstack.org/cgit/openstack/gnocchi/tree/setup.cfg#n87">http://git.openstack.org/cgit/openstack/gnocchi/tree/setup.cfg#n87</a></div><div>[5] <a href="http://git.openstack.org/cgit/openstack/aodh/tree/setup.cfg#n30">http://git.openstack.org/cgit/openstack/aodh/tree/setup.cfg#n30</a></div><div>[6] <a href="https://review.openstack.org/#/c/274077/">https://review.openstack.org/#/c/274077/</a></div><div><br></div><div>Cheers,</div><div>--Morgan</div></div>