summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/python/setup.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-05-12 10:45:17 -0400
committerOle Tr�an <otroan@employees.org>2020-11-17 08:36:30 +0000
commit2e8760628d6f629ddaa0f24bb901e10dcdbd5435 (patch)
tree5005afeba661262ee67c05102389dcd7a334411c /src/vpp-api/python/setup.py
parentff1f089c3a395d9e519bbbf91e3a30737173b447 (diff)
papi: remove dependency on aenum
remove the dependency on the aenum package which was used to provide Enum.IntFlag which is now available in the python stdlib. aenum is not provided as a .deb and causes issues in packaging. Type: fix Change-Id: Ie45ec2130a767345f0aad038451780a5ddc7e8db Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vpp-api/python/setup.py')
-rw-r--r--src/vpp-api/python/setup.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vpp-api/python/setup.py b/src/vpp-api/python/setup.py
index a14e4e4d113..05c26bb05e5 100644
--- a/src/vpp-api/python/setup.py
+++ b/src/vpp-api/python/setup.py
@@ -13,19 +13,12 @@
# limitations under the License.
import sys
-stdlib_enum = sys.version_info >= (3, 6)
-stdlib_ipaddress = sys.version_info >= (3, 3)
-
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
requirements = ['cffi >= 1.6']
-if not stdlib_enum:
- requirements.append('aenum')
-if not stdlib_ipaddress:
- requirements.append('ipaddress')
setup(
name='vpp_papi',