summaryrefslogtreecommitdiff
path: root/wrappers/python/Makefile
blob: be4beaa5cc293a2e739a3fd0dae36465db78e10e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: pack test clean

ifdef PLAT_NAME
SETUP_ARGS += --plat-name=$(PLAT_NAME)
endif

# Build for current platform only
pack:
	./setup.py bdist_wheel $(SETUP_ARGS)

test:
	$(MAKE) -C ../../exports copy-to COPY_TARGET=../wrappers/python/eduvpncommon/lib
	python3 -m unittest test_discovery
	rm eduvpncommon/lib/*

clean:
	rm -rf build/ dist/ *.egg-info/ lib/*