Ole Troan | 6855f6c | 2016-04-09 03:16:30 +0200 | [diff] [blame] | 1 | from distutils.core import setup, Extension |
| 2 | |
| 3 | module1 = Extension('vpp_api', |
| 4 | define_macros = [('MAJOR_VERSION', '1'), |
| 5 | ('MINOR_VERSION', '0')], |
| 6 | include_dirs = ['pneum'], |
| 7 | libraries = ['pneum'], |
| 8 | library_dirs = ['../../build-root/install-vpp_debug-native/vpp-api/lib64'], |
| 9 | sources = ['vpp_papi/pneum_wrap.c']) |
| 10 | |
| 11 | setup (name = 'vpp_papi', |
| 12 | version = '1.0', |
| 13 | description = 'VPP Python binding', |
| 14 | author = 'Ole Troan', |
| 15 | author_email = 'ot@cisco.com', |
| 16 | #url = 'https://docs.python.org/extending/building', |
| 17 | packages=['vpp_papi'], |
| 18 | long_description = ''' |
| 19 | VPP Python language binding. |
| 20 | ''', |
| 21 | ext_modules = [module1]) |