2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00
ovs/python
Ilya Maximets e263708898 python: Don't install ovs-flowviz.conf as a global data.
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>
2024-10-25 21:33:26 +02:00
..
2021-06-22 21:29:57 +02:00
2023-07-14 22:24:03 +02:00

Python library for working with Open vSwitch