X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=blobdiff_plain;f=libeap%2Fwpaspy%2Fsetup.py;fp=libeap%2Fwpaspy%2Fsetup.py;h=4dbf76540a23f5f008f9035dcc5106226eb3db20;hp=0000000000000000000000000000000000000000;hb=f3746d009c6d7f50025af1f58a85e5fee9680be6;hpb=244f18d04aaf29e68495b5ffeb40ef5cca50942f diff --git a/libeap/wpaspy/setup.py b/libeap/wpaspy/setup.py new file mode 100644 index 0000000..4dbf765 --- /dev/null +++ b/libeap/wpaspy/setup.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# +# Python bindings for wpa_ctrl (wpa_supplicant/hostapd control interface) +# Copyright (c) 2013, Jouni Malinen +# +# This software may be distributed under the terms of the BSD license. +# See README for more details. + +from distutils.core import setup, Extension + +ext = Extension(name = 'wpaspy', + sources = ['../src/common/wpa_ctrl.c', + '../src/utils/os_unix.c', + 'wpaspy.c'], + extra_compile_args = ["-I../src/common", + "-I../src/utils", + "-DCONFIG_CTRL_IFACE", + "-DCONFIG_CTRL_IFACE_UNIX"]) + +setup(name = 'wpaspy', + ext_modules = [ext], + description = 'Python bindings for wpa_ctrl (wpa_supplicant/hostapd)')