PAPI: Move unit tests to fix packaging issues.

Change-Id: I67a0f168254367c657eb11d4413f9dc0c5356b3c
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2018-08-07 09:27:26 +02:00
parent a88c916e5d
commit 1d20f4748c
4 changed files with 2 additions and 3 deletions

View File

@ -398,7 +398,6 @@ fi
%files api-python
%defattr(644,root,root)
%{python2_sitelib}/vpp_*
%{python2_sitelib}/tests/*
%files selinux-policy
%defattr(-,root,root,0755)

View File

@ -18,13 +18,13 @@ except ImportError:
from distutils.core import setup, find_packages
setup(name='vpp_papi',
version='1.6',
version='1.6.1',
description='VPP Python binding',
author='Ole Troan',
author_email='ot@cisco.com',
url='https://wiki.fd.io/view/VPP/Python_API',
license='Apache-2.0',
test_suite='tests',
test_suite='vpp_papi.tests',
# Add when we don't need to support 2.7.5
# 'enum34;python_version<"3.4"'],
install_requires=['cffi >= 1.6', 'enum34'],