]>
git.ipfire.org Git - thirdparty/hostap.git/blob - wpaspy/setup.py
3 # Python bindings for wpa_ctrl (wpa_supplicant/hostapd control interface)
4 # Copyright (c) 2013, Jouni Malinen <j@w1.fi>
6 # This software may be distributed under the terms of the BSD license.
7 # See README for more details.
9 from distutils
.core
import setup
, Extension
11 ext
= Extension(name
= 'wpaspy',
12 sources
= ['../src/common/wpa_ctrl.c',
13 '../src/utils/os_unix.c',
15 extra_compile_args
= ["-I../src/common",
17 "-DCONFIG_CTRL_IFACE",
18 "-DCONFIG_CTRL_IFACE_UNIX"])
20 setup(name
= 'wpaspy',
22 description
= 'Python bindings for wpa_ctrl (wpa_supplicant/hostapd)')