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

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

# Build for current platform only
build:
	./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/*