blob: 8c9dd2537998996dc93878b0b14608efc879768e [file] [log] [blame]
Radek Krejcic61f0b42017-06-07 13:21:41 +02001from distutils.core import setup, Extension
2
3netconf2Module = Extension("netconf2",
4 sources=["${CMAKE_CURRENT_SOURCE_DIR}/netconf.c", "${CMAKE_CURRENT_SOURCE_DIR}/session.c",
5 "${CMAKE_CURRENT_SOURCE_DIR}/ssh.c", "${CMAKE_CURRENT_SOURCE_DIR}/tls.c"],
6 depends=["${CMAKE_CURRENT_SOURCE_DIR}/netconf.h"],
7 libraries=["netconf2"],
8 extra_compile_args=["-Wall", "-I${CMAKE_CURRENT_SOURCE_DIR}/../src/", ],
9 extra_link_args=["-L${CMAKE_CURRENT_BINARY_DIR}/.."],
10 )
11
12setup(name='netconf2',
13 version='${LIBNETCONF2_VERSION}',
14 author='Radek Krejci',
15 author_email='rkrejci@cesnet.cz',
16 description='libnetconf2 Python bindings.',
17 long_description = 'TBD',
18 url='https://github.com/CESNET/libnetconf2',
19 ext_modules=[netconf2Module],
20 platforms=['Linux'],
21 license='BSD License',
22 )