mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
Specifying data_files makes setuptools install this file to a global sys.prefix. So, it ends up in both the main directory of the python package and in the /usr/ovs-flowviz.conf, which is not good: warning: install_data: setup script did not provide a directory for 'ovs/flowviz/ovs-flowviz.conf' -- installing right in 'build/bdist.linux-x86_64/wheel/ovs-3.4.90.data/data' adding 'ovs-3.4.90.data/data/ovs-flowviz.conf' There is no real point installing this file globally, just use the package_data to ensure it is included in the python package. Acked-by: Eelco Chaudron <echaudro@redhat.com> Reviewed-by: Adrian Moreno <amorenoz@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Python library for working with Open vSwitch