aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api/python/setup.py
blob: d890ba709dcfde8bae13a14a6d61dc3a038ff26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from distutils.core import setup, Extension

module1 = Extension('vpp_api',
                    define_macros = [('MAJOR_VERSION', '1'),
                                     ('MINOR_VERSION', '0')],
                    include_dirs = ['pneum'],
                    libraries = ['pneum'],
                    library_dirs = ['../../build-root/install-vpp_debug-native/vpp-api/lib64'],
                    sources = ['vpp_papi/pneum_wrap.c'])

setup (name = 'vpp_papi',
       version = '1.0',
       description = 'VPP Python binding',
       author = 'Ole Troan',
       author_email = 'ot@cisco.com',
       #url = 'https://docs.python.org/extending/building',
       packages=['vpp_papi'],
       long_description = '''
VPP Python language binding.
''',
       ext_modules = [module1])