[ovs-git] [openvswitch/ovs] 2a6d91: python: Fix package requirements with old setuptools
Timothy Redaelli
noreply at github.com
Fri Mar 22 14:45:16 UTC 2019
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 2a6d9168d68d838604d03aa46084cce1b91ebee7
https://github.com/openvswitch/ovs/commit/2a6d9168d68d838604d03aa46084cce1b91ebee7
Author: Timothy Redaelli <tredaelli at redhat.com>
Date: 2019-03-22 (Fri, 22 Mar 2019)
Changed paths:
M python/setup.py
Log Message:
-----------
python: Fix package requirements with old setuptools
Commit 00fcc832d598 ("Update Python package requirements") added a
PEP 508 environment marker to install pywin32 on Windows systems.
This requires a new setuptools version (>= 20.5), but (at least)
RHEL/CentOS7 and Debian Jessie are using an older version of
setuptools and so python extension failed to build.
This commit adds "extras_require" instead of the PEP 508 environment
markers in order to have the conditional dependency of pywin32, but by
remaining compatible with the old setuptools versions.
CC: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
CC: Lucian Petrut <lpetrut at cloudbasesolutions.com>
Fixes: 00fcc832d598 ("Update Python package requirements")
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Acked-by: Alin Gabriel Serdean <aserdean at ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
More information about the git
mailing list