
Add the necessary modified module registration code to allow building wpaspy with python3. Also clean up the wpaspy_close() function to not poke into the python version specific details. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
15 lines
176 B
Makefile
15 lines
176 B
Makefile
all: build
|
|
|
|
SRC=wpaspy.c
|
|
|
|
.PHONY: build
|
|
build: $(SRC) setup.py
|
|
python setup.py build
|
|
|
|
install:
|
|
python setup.py install
|
|
|
|
clean:
|
|
python setup.py clean
|
|
rm -f *~
|
|
rm -rf build
|